R/fit.R
fit-method-num_chains.Rd
The $num_chains() method returns the number of MCMC chains.
$num_chains()
num_chains()
An integer.
CmdStanMCMC
# \dontrun{ fit_mcmc <- cmdstanr_example(chains = 2) fit_mcmc$num_chains() #> [1] 2 # }