asreml.lrt: Calculate the LRT test for model compare.

Description Usage Arguments Value Author(s) See Also Examples

Description

asreml.lrt can Calculate the LRT test for model compare.

Usage

1
asreml.lrt(m1 = NULL, m2 = NULL)

Arguments

m1

The asreml object

m2

The asreml object

Value

The LRT test for m1 and m2

Author(s)

Dave <Dave@vsni.co.uk>

See Also

model.comp

Examples

1
2
3
4
5
6
7
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)
asreml.lrt(m1,m2)

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