| getData | R Documentation |
Wrapper to get the data that was used to fit a model.
getData(object, ...)
## Default S3 method:
getData(object, ...)
## S3 method for class 'merMod'
getData(object, ...)
## S3 method for class 'brmsfit'
getData(object, ...)
object |
a fitted model. |
... |
additional parameters to be passed on. |
The data is retrieved from the environment where the model was fit, which is usually your current environment. If you delete the data from the environment or change it after fitting the model this function will probably not work or get the wrong dataset, respectively.
Florian Hartig
getObservedResponse, getSimulations, getRefit, getFixedEffects, getFitted
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.