Convert a cmdstanr draws object to an R list
Usage
draws2list_forecasts(draws, subsets = NULL, as_vector = FALSE)
Arguments
- draws
A draws object.
- subsets
Vector of subsets to draw from.
- as_vector
Logical. Should results be turned into a vector?
Value
a list with entries for each parameter