[R] vectorizing ANOVA over a vectorized linear model

Dieter Menne
Sun, 07 Mar 2010 19:01:26 -0000

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.