.pars_to_indices: Convert stan par-string to numeric columns.
Description
Convert stan par-string to numeric columns.
Usage
.pars_to_indices(x, labs = NULL)
Arguments
- x
String. E.g., "lambda[1,2]"
- labs
Character vector (Optional). If supplied, provides the colnames for the matrix.