This function is deprecated. Use
get_samples() on the fitted model
object (e.g. the result of estimate_infections()) instead, with
format = "list" to obtain the same list of arrays that this function
returns.
If the object argument is a <stanfit> object, it simply returns the
result of rstan::extract(). If it is a <CmdStanMCMC> it returns samples
in the same format as rstan::extract() does for <stanfit> objects.
Arguments
- stan_fit
A
<stanfit>or<CmdStanMCMC>object as returned byfit_model().- pars
Any selection of parameters to extract
- include
whether the parameters specified in
parsshould be included (TRUE, the default) or excluded (FALSE)
See also
get_samples() for the recommended replacement
