[R] latex and anova.lme problem

Michael Kubovy kubovy at virginia.edu
Sun Oct 8 16:40:12 CEST 2006


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 2    6.79  0.0789
 > latex(anova(txtE2.lme, txtE2.lme1))
Error: object "n.group" not found

I don't even see n.group as one of the arguments of latex()

I checked to see
 > class(anova(txtE2.lme, txtE2.lme1))
[1] "anova.lme"  "data.frame"

A bit more information (which I don't know is relevant):
 > methods(anova.lme)
no methods were found
Warning message:
function 'anova.lme' appears not to be generic in: methods(anova.lme)
 > methods(latex)
[1] latex.bystats                  latex.bystats2                  
latex.default
[4] latex.describe                 latex.describe.single           
latex.function
[7] latex.list                     latex.summary.formula.cross     
latex.summary.formula.response
[10] latex.summary.formula.reverse


*********************sessionInfo()************************
R version 2.4.0 (2006-10-03)
powerpc-apple-darwin8.7.0

locale:
C

attached base packages:
[1] "datasets"  "methods"   "stats"     "graphics"  "grDevices"  
"utils"     "base"

other attached packages:
      Hmisc      chron     xtable    geepack     glmmML        
nlme       lme4     Matrix    lattice
    "3.1-1"    "2.3-8"    "1.3-2"   "1.0-10"   "0.65-3"   "3.1-77"  
"0.9975-1" "0.9975-2"   "0.14-9"
       MASS        JGR     iplots     JavaGD      rJava
   "7.2-29"   "1.4-11"    "1.0-4"    "0.3-5"   "0.4-10"

_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
Parcels:    Room 102        Gilmer Hall
         McCormick Road    Charlottesville, VA 22903
Office:    B011    +1-434-982-4729
Lab:        B019    +1-434-982-4751
Fax:        +1-434-982-4766
WWW:    http://www.people.virginia.edu/~mk9y/



More information about the R-help mailing list