Description Usage Arguments Value Examples
Example stan model and data
1 | example_stan(n = 30, seed = NULL, data_only = FALSE)
|
n |
sample size per group |
seed |
seed value to get same data samples |
data_only |
return only the data without fitting the model |
list(data, pars, inits, model, fit)
1 | stan_ex <- example_stan(seed=19851905)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.