View source: R/data-response.R
get_y | R Documentation |
Extract response values from a brmsfit
object.
get_y(x, resp = NULL, sort = FALSE, warn = FALSE, ...)
x |
A |
resp |
Optional names of response variables for which to extract values. |
sort |
Logical. Only relevant for time series models.
Indicating whether to return predicted values in the original
order ( |
warn |
For internal use only. |
... |
Further arguments passed to |
Returns a vector of response values for univariate models and a matrix of response values with one column per response variable for multivariate models.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.