[R] latex and anova.lme problem

2006-10-08 Thread Michael Kubovy
Dear R-helpers, When I try anova(txtE2.lme, txtE2.lme1) Model df AIC BIC logLik Test L.Ratio p-value txtE2.lme 1 10 8590 8638 -4285 txtE2.lme1 2 7 8591 8624 -4288 1 vs 26.79 0.0789 latex(anova(txtE2.lme, txtE2.lme1)) Error: object n.group not found I don't

Re: [R] latex and anova.lme problem

2006-10-08 Thread Frank E Harrell Jr
Michael Kubovy wrote: Dear R-helpers, When I try anova(txtE2.lme, txtE2.lme1) Model df AIC BIC logLik Test L.Ratio p-value txtE2.lme 1 10 8590 8638 -4285 txtE2.lme1 2 7 8591 8624 -4288 1 vs 26.79 0.0789 latex(anova(txtE2.lme, txtE2.lme1)) Error:

Re: [R] latex and anova.lme problem

2006-10-08 Thread Richard M. Heiberger
It works for me. I am also using R-2.4.0 library(Hmisc) library(nlme) ?lme fm1 - lme(distance ~ age, data = Orthodont) # random is ~ age fm2 - lme(distance ~ age + Sex, data = Orthodont, random = ~ 1) anova(fm1,fm2) Model df AIC BIClogLik Test L.Ratio p-value fm1 1

Re: [R] latex and anova.lme problem

2006-10-08 Thread Dieter Menne
Frank E Harrell Jr f.harrell at vanderbilt.edu writes: As far as I know, no one has implemented a latex method for anova.lme objects. Well, I have, based on your latex/Hmisc, but it's a bit to my private taste, so I won't upload it to CRAN. Also has latex.glm, .lme, .summary.lme.