anova.gremlin: anova() for gremlin objects

Description Usage Arguments Value Author(s) Examples

View source: R/summary.gremlin.R

Description

REML Likelihood Ratio Tests for gremlin models using anova()

Usage

1
2
## S3 method for class 'gremlin'
anova(object, ..., model.names = NULL)

Arguments

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 table

Value

A data.frame containing the nested comparison of model objects via a REML likelihood ratio test.

Author(s)

matthewwolak@gmail.com

Examples

1
2
3
4
5
mod11 <- gremlin(WWG11 ~ sex - 1,
random = ~ sire,
data = Mrode11)
mod11red <- gremlinR(WWG11 ~ sex - 1, data = Mrode11)
anova(mod11, mod11red)

gremlin documentation built on July 1, 2020, 10:22 p.m.