A function specific to metab_bayes models. Returns the fitted object from the
selected Stan interface: a stanfit (rstan::stanfit) for RStan or a
CmdStanMCMC (cmdstanr::CmdStanMCMC) for CmdStanR. The object is saved in
the metab_model by default because you should almost always inspect it; see
the keep_mcmcs argument to specs() for options for saving space. See the
interface documentation for available summaries, diagnostics, draws, and
plotting methods.
Examples
mm <- metab_model("metab_bayes", mcmc = list(chain = 1))
get_mcmc(mm)
#> $chain
#> [1] 1
#>