Description Usage Arguments Examples
This functions gets a stan_model object and generate stan code from it.
1 | generate_stan_code(stan_model)
|
stan_model |
A object of class 'stan_model' |
1 2 3 4 | stan_model <- create_stan_model()
stan_model <- add_data(stan_model, declaration = "int", name = "test",
minimum = 3, maximum = 5, length = 500)
generate_stan_code(stan_model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.