is.asrtests | R Documentation |
A single-line function
that tests whether an object is of class
asrtests
.
is.asrtests(object)
object |
An |
A logical
.
Chris Brien
asremlPlus-package
, asrtests.object
, is.asrtests
, as.asrtests
## Not run:
library(dae)
library(asreml)
library(asremlPlus)
## use ?Wheat.dat for data set details
data(Wheat.dat)
# Fit initial model
current.asr <- asreml(yield ~ Rep + WithinColPairs + Variety,
random = ~ Row + Column + units,
residual = ~ ar1(Row):ar1(Column),
data=Wheat.dat)
# Load current fit into an asrtests object
current.asrt <- as.asrtests(current.asr, NULL, NULL)
# check the class of current.asrt
is.asrtests(current.asrt)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.