[R] performing type III

Peter Dalgaard p.dalgaard at biostat.ku.dk
Fri Mar 12 11:20:31 CET 2004


Hardouin Loïc <hardouin at cebc.cnrs.fr> writes:

> Sorry to have not precised that I used the anova function in the car
> package but I did.

No you didn't. There's no anova() function in the car package. There
is an Anova() function, though.

>  > sq<-lm(tponte~logavril*reldponte*exp,data=wa,contrasts=sum)
>  > anova(sq,type=c("I","III"))

and that gives you the non-car anova() results.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list