Get the model code of a Stan model fit
get_model_code(x) ## S3 method for class 'stanfit' get_model_code(x) ## S3 method for class 'CmdStanMCMC' get_model_code(x) ## S3 method for class 'CmdStanMCMC_CSV' get_model_code(x)
x: A stanfit (from rstan) or a CmdStanMCMC
x
stanfit
rstan
CmdStanMCMC
(from cmdstanr) object.
cmdstanr
Useful links