Extract response values from a brmsfit object.
get_y(x, resp = NULL, warn = FALSE, ...)A brmsfit object.
Optional names of response variables for which to extract values.
For internal use only.
Further arguments passed to standata.
Returns a vector of response values for univariate models and a matrix of response values with one column per response variable for multivariate models.