
Obtain samples from the posterior distribution of reported quantities
Source:R/get-posterior.R
get_posterior.RdWhen samples from the posterior distribution are obtained using tmbstan,
only the model parameters can be accessed directly from the stanfit
object (i.e., derived quantities such as par_B0 or M_a cannot be accessed
directly). Accessing derived quantities must be done using the this function.