standata.brmsfit {brms} | R Documentation |
Extract data passed to Stan from brmsfit
objects
Description
Extract all data that was used by Stan to fit a brms model.
Usage
## S3 method for class 'brmsfit'
standata(
object,
newdata = NULL,
re_formula = NULL,
newdata2 = NULL,
new_objects = NULL,
incl_autocor = TRUE,
...
)
Arguments
object |
An object of class |
newdata |
An optional data.frame for which to evaluate predictions. If
|
re_formula |
formula containing group-level effects to be considered in
the prediction. If |
newdata2 |
A named |
new_objects |
Deprecated alias of |
incl_autocor |
A flag indicating if correlation structures originally
specified via |
... |
More arguments passed to
|
Value
A named list containing the data passed to Stan.