[R] latex function with lm
Dear R People: I have used the latex function from the Hmisc package and it is just great! However, I have a new question regarding that function: is there an option for summary(lm(y~x)), please? There are options for different types of objects, but I didn't see one for that. Maybe I just missed it. Thanks in advance! R for Windows Version 2.3.1 Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] latex function with lm
Erin Hodgess hodgess at gator.dt.uh.edu writes: I have used the latex function from the Hmisc package and it is just great! However, I have a new question regarding that function: is there an option for summary(lm(y~x)), please? There are options for different types of objects, but I didn't see one I have written one (also form lme) in a library called Dmisc. It passes CRAN tests, but as it's a bit my personal taste, I have not submitted it to CRAN. Main feature is that reduces show number of digits per line by looking at the standard deviation. Too many people loved Excel-type 12 decimals. You may try it as starter. http://www.menne-biomed.de/download Dieter __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] latex function with lm
Erin Hodgess wrote: Dear R People: I have used the latex function from the Hmisc package and it is just great! However, I have a new question regarding that function: is there an option for summary(lm(y~x)), please? There are options for different types of objects, but I didn't see one for that. Maybe I just missed it. There is no latex method for summary(lm); contributions welcomed. You might also look at latex.ols, latex.anova.Design, latex.summary.Design. Frank Thanks in advance! R for Windows Version 2.3.1 Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] latex function with lm
Erin Hodgess skreiv: However, I have a new question regarding that function: is there an option for summary(lm(y~x)), please? There are options for different types of objects, but I didn't see one for that. Maybe I just missed it. FWIW: I find that the following works fairly well for printing the table part of summary.lm: library(Hmisc) library(xtable) latex(xtable(l), booktabs=TRUE, digits=2) -- Karl Ove Hufthammer __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] latex function with lm
Dieter Menne skreiv: I have written one (also form lme) in a library called Dmisc. It passes CRAN tests, but as it's a bit my personal taste, I have not submitted it to CRAN. Main feature is that reduces show number of digits per line by looking at the standard deviation. Too many people loved Excel-type 12 decimals. You may try it as starter. http://www.menne-biomed.de/download I believe that should be http://www.menne-biomed.de/download/download.html -- Karl Ove Hufthammer __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html