getFormulae.asreml | R Documentation |
Gets the formula
e nominated in the which
argument from the call
stored in an asreml
object.
## S3 method for class 'asreml'
getFormulae(asreml.obj, which = c("fixed", "random", "residual"),
expanded = FALSE, envir = parent.frame(), ...)
asreml.obj |
An object resulting from the fitting of
a model using |
which |
A |
expanded |
A |
envir |
The environment in which the |
... |
Arguments passed on to |
A list
containing a component with each of the extracted
formula
(e), the name of a component being the formula
that it contains.
Chris Brien
printFormulae.asreml
## Not run:
data(Wheat.dat)
current.asr <- asreml(yield ~ Rep + WithinColPairs + Variety,
random = ~ Row + Column + units,
residual = ~ ar1(Row):ar1(Column),
data=Wheat.dat)
getFormulae(current.asr)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.