Get an object's data.
Get the data associated with a model object.
getData(object) getData(object) <- value
object |
a fitted model object (e.g. an object of class |
value |
a new |
Looks for data in the following order:
The object's newData
attribute, if it has been set by simr
.
The data
argument of getCall(object)
, in the environment of formula(object)
.
A data.frame
with the required data.
lm1 <- lmer(y ~ x + (1|g), data=simdata) X <- getData(lm1)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.