Description Usage Arguments Value
Start a Stan session
1 2 3 4 5 6 7 8 | start_stan(
data,
mod,
cores = parallel::detectCores()/2,
chains_per_core = 1,
seed_start = 1,
...
)
|
data |
A list of objects expected by the model as data. |
mod |
A stan model created by rstan::stan_model(). |
cores |
An integer value specifying the number of cores to run in parallel. |
chains_per_core |
An integer value specifying the number of chain to run sequentially on each core |
seed_start |
An integer specifying the seed to use for the first core. All subsequent cores will use seed values that increment seed_start. |
... |
Additional named arguments passed to rstan::sampling(). |
No value is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.