Description Usage Arguments Value Examples
Given a parameter name and a matrix of index values, generate names for the unlisted parameters in the style of Stan or BUGS.
1 2 3 4 5 | create_parnames(x, d, pre = "[", sep = ",", post = "]", colmajor = TRUE)
create_stan_parnames(x, d)
create_bugs_parnames(x, d)
|
x |
|
d |
|
pre |
|
sep |
|
post |
|
colmajor |
|
character
vector of flat parameter names.
1 2 | create_stan_parnames("alpha", c(1, 2))
create_parnames("alpha", c(1, 2), "_", "_", "")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.