Description Usage Arguments Value Examples
Utility functions to convert flat parameter names between
the BUGS ("alpha[1,1]"
) and Stan style
("alpha.1.1"
).
1 2 3 |
x |
|
character
vector of the converted flat parameter
names.
1 2 3 4 | stan_parnames <- c("alpha", "beta.1", "gamma.1.1")
bugs_parnames <- c("alpha", "beta[1]", "gamma[1,1]")
identical(bugs_to_stan_parnames(bugs_parnames), stan_parnames)
identical(stan_to_bugs_parnames(stan_parnames), bugs_parnames)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.