R/fit.R
fit-method-variable_skeleton.Rd
The $variable_skeleton()
method returns the variable skeleton
variable_skeleton(transformed_parameters = TRUE, generated_quantities = TRUE)
(boolean) Whether to include transformed parameters in the skeleton (defaults to TRUE)
(boolean) Whether to include generated quantities in the skeleton (defaults to TRUE)
log_prob()
, grad_log_prob()
, constrain_variables()
,
unconstrain_variables()
, unconstrain_draws()
, variable_skeleton()
,
hessian()
# \dontrun{
fit_mcmc <- cmdstanr_example("logistic", method = "sample")
fit_mcmc$init_model_methods()
#> Error: Model methods cannot be used with a pre-compiled Stan executable, the model must be compiled again
fit_mcmc$variable_skeleton()
#> Error: The method has not been compiled, please call `init_model_methods()` first
# }