.stan_args | R Documentation |
Gives Stan arguments the appropriate names depending on the chosen Stan backend.
.stan_args(model, dat, stan_init, backend, type, mcmc_samples = 0, ...)
model |
Model object. |
dat |
List containing data to use in fitting. |
stan_init |
Function to initialize parameters for stan fit. |
backend |
"rstan" or "cmdstanr". |
type |
"mcmc" or "optimize". |
mcmc_samples |
Integer, if greater than 0, will do full Bayesian inference with the specified number of MCMC samples. If 0, will do MAP estimation. |
Named list of arguments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.