Description Usage Arguments Examples
This function creates a data object to be used in Stan
1 |
data |
tibble or data.frame object |
... |
index |
1 2 3 | df <- data.frame(test = c(rep("dog", 5), rep("cat", 6)))
df <- create_index(df, k = test)
df <- create_stan_data(df, k)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.