powered by
Extract the inverse metric and step size adaption from CmdStanMCMC objects.
CmdStanMCMC
extract_hmc_info(object)
An object of class CmdStanMCMC
A list including
inv_metric: Inverse metric for each chain (with matrix = FALSE).
inv_metric
matrix = FALSE
step_size_adapt: Step size adaptation for each chain.
step_size_adapt
# NOT RUN { # } # NOT RUN { library(cmdstanr) fit_schools_ncp_mcmc <- cmdstanr_example("schools_ncp") extract_hmc_info(fit_schools_ncp_mcmc) # }
Run the code above in your browser using DataLab