View source: R/extract_hmc_info.R
extract_hmc_info | R Documentation |
Extract the inverse metric and step size adaption from
CmdStanMCMC
objects.
extract_hmc_info(object)
object |
An object of class |
A list including
inv_metric
: Inverse metric for each chain
(with matrix = FALSE
).
step_size_adapt
: Step size adaptation for each chain.
This is primarily used internally.
## Not run: library(cmdstanr) fit_schools_ncp_mcmc <- cmdstanr_example("schools_ncp") extract_hmc_info(fit_schools_ncp_mcmc) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.