fit-method-variable_skeleton | R Documentation |
relist
The $variable_skeleton()
method returns the variable skeleton
needed by utils::relist()
to re-structure a vector of constrained
parameter values to a named list.
variable_skeleton(transformed_parameters = TRUE, generated_quantities = TRUE)
transformed_parameters |
(logical) Whether to include transformed
parameters in the skeleton (defaults to |
generated_quantities |
(logical) Whether to include generated quantities
in the skeleton (defaults to |
log_prob()
, grad_log_prob()
, constrain_variables()
,
unconstrain_variables()
, unconstrain_draws()
, variable_skeleton()
,
hessian()
## Not run:
fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE)
fit_mcmc$variable_skeleton()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.