| MRPModel-method-fit | R Documentation |
The $fit() method of an MRPModel object fits the model using
Stan's main Markov chain Monte Carlo (MCMC) algorithm. Check out the
More examples of R6 classes
vignette for usage examples.
fit(n_iter = 2000, n_chains = 4, seed = NULL, ...)
n_iter |
Number of MCMC iterations per chain (including warmup iterations). Default is 2000. |
n_chains |
Number of MCMC chains to run. Default is 4. |
seed |
Random seed for reproducibility. Default is |
... |
Additional arguments passed to CmdStanR |
No return value, called for side effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.