anova() for gremlin objects
REML Likelihood Ratio Tests for gremlin models using anova()
## S3 method for class 'gremlin' anova(object, ..., model.names = NULL)
object
: An object of class
gremlin ....
: Additional objects of class
gremlin .model.names
: Optional character vector with model names to be used in the anova tableA data.frame
containing the nested comparison of model object
s via a REML likelihood ratio test.
mod11 <- gremlin(WWG11 ~ sex - 1, random = ~ sire, data = Mrode11) mod11red <- gremlinR(WWG11 ~ sex - 1, data = Mrode11) anova(mod11, mod11red)