[R] vectorizing ANOVA over a vectorized linear model

Dieter Menne dieter.menne at menne-biomed.de
Sun Mar 7 20:01:26 CET 2010



Mark Kimpel wrote:
> 
> Is it possible to vectorize anova over the output of a vectorized lm?  
> 

library(nlme)
fm1 <- lmList(distance ~ age | Subject, Orthodont)
lapply(fm1,anova)

Dieter


-- 
View this message in context: http://n4.nabble.com/vectorizing-ANOVA-over-a-vectorized-linear-model-tp1583753p1583792.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list