Extract all data that was used by Stan to fit the model
# S3 method for brmsfit
standata(object, newdata = NULL, re_formula = NULL,
incl_autocor = TRUE, new_objects = list(), internal = FALSE,
control = list(), ...)standata(object, ...)
An object of class brmsfit
.
An optional data.frame for which to evaluate predictions. If
NULL
(default), the original data of the model is used.
formula containing group-level effects to be considered in
the prediction. If NULL
(default), include all group-level effects;
if NA
, include no group-level effects.
A flag indicating if correlation structures originally
specified via autocor
should be included in the predictions.
Defaults to TRUE
.
Logical, indicates if the data should be prepared for internal use in other post-processing methods.
A named list currently for internal usage only.
More arguments passed to make_standata
.
A named list containing the data originally passed to Stan.