printFormulae.asreml {asremlPlus} | R Documentation |
Prints the formulae from an asreml object.
Description
Prints the formula
e nominated in the which
argument from the call
stored in an asreml
object.
Usage
## S3 method for class 'asreml'
printFormulae(asreml.obj, which = c("fixed", "random", "residual"),
expanded = FALSE, envir = parent.frame(), ...)
Arguments
asreml.obj |
An |
which |
A |
expanded |
A |
envir |
The environment in which the |
... |
Arguments passed on to |
Value
Invisibly returns a character
, each element of which contains one of the extracted
formula
e.
Author(s)
Chris Brien
See Also
Examples
## 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)