printFormulae.asreml | R Documentation |
Prints the formula
e nominated in the which
argument from the call
stored in an asreml
object.
## S3 method for class 'asreml'
printFormulae(asreml.obj, which = c("fixed", "random", "residual"),
expanded = FALSE, envir = parent.frame(), ...)
asreml.obj |
An |
which |
A |
expanded |
A |
envir |
The environment in which the |
... |
Arguments passed on to |
Invisibly returns a character
, each element of which contains one of the extracted
formula
e.
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)
printFormulae(current.asr)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.