Description Usage Arguments Value Examples
Functions that parse a vector of flatted parameter names and returns a data frame with the parameter names and indexes.
1 2 3 4 5 | parse_parnames(x, pre = "\\W+", sep = "\\W+", post = "\\W+")
parse_stan_parnames(x)
pars_bugs_parnames(x)
|
x |
|
pre |
|
sep |
|
post |
|
A data frame with columns: 'paramname
', 'parameter
', and
'dim_1
', 'dim_2
', ....
1 2 | parse_stan_parnames(c("alpha", "beta[1]", "gamma[1,1]", "gamma[1, 2]"))
parse_parnames(c("beta.1.1", "beta.1.2"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.