model.comp: Calculate the AIC and BIC

model.compR Documentation

Calculate the AIC and BIC

Description

Calculate the AIC and BIC

Usage

model.comp(m1 = NULL, m2 = NULL)

Arguments

m1

The asreml object

m2

The asreml object

Value

The AIC and BIC of m1 and m2

Author(s)

Dave <Dave@vsni.co.uk>

See Also

asreml.lrt

Examples

library(asreml)
library(vsnc)
data(oats,package = "asreml")
head(oats)
m1 <- asreml(yield ~ 1, random=~Nitrogen*Variety, data=oats)
m2 <- asreml(yield ~ 1, random=~Nitrogen*Variety+Blocks, data=oats)
m3 <- asreml(yield ~ 1, random=~Nitrogen*Variety+Blocks/Wplots, data=oats)
model.comp(m1)
model.comp(m3,m2) 

dengfei2013/learnasreml documentation built on Oct. 25, 2024, 7 a.m.