asreml.lrt | R Documentation |
asreml.lrt
can Calculate the LRT test for model compare.
asreml.lrt(m1 = NULL, m2 = NULL)
m1 |
The asreml object |
m2 |
The asreml object |
The LRT test for m1
and m2
Dave <Dave@vsni.co.uk>
model.comp
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.