model.comp: Calculate the AIC and BIC

Description Usage Arguments Value Author(s) See Also Examples

Description

Calculate the AIC and BIC

Usage

1
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

1
2
3
4
5
6
7
8
9
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) 

VSNC/vsnc documentation built on May 28, 2019, 3:20 p.m.