powered by
Uses output from lm() in mixlm package to compute ANOVA table, variance components and errors.
AnovaMix(object, SStype)
linear model fitted by lm in package mixlm.
ANOVA table.
list of denominator information for F tests.
list
numeric of denominator degrees of freedom for F tests.
numeric
logical indicating if ANOVA used restricted modelling.
logical
character containing expected mean squares.
character
numeric containing variance components.
character containing the random effects.
numeric with indices of random effects in the model.
character containing all effects of the model.
object fitted by lm (mixlm package) containing at least one random effect.
type of sums-of-squares (I/II/III) for Analysis of Variance.
Kristian Hovde Liland
AnovaMix can either be invoked directly or through the Anova() function (with type III error).
AnovaMix
print.AnovaMix, Anova, lm
print.AnovaMix
Anova
lm
mydata <- data.frame(y = rnorm(12), x = factor(c(rep(2,4),rep(1,4),rep(0,4))), z = factor(rep(c(1,0),6))) mixlm <- lm(y~x*r(z), data = mydata) Anova(mixlm,type="III")
Run the code above in your browser using DataLab