Parse strings of specific form
This is a helper function from the rjags
library in order to parse the string of form "a" or "a[n,p:q,r]". See the package rjags
for more details.
parse.varname(varname)
varname
: string name of variableIt returns a list of parsed parameters
Rdpack::insert_ref(key="plummer2021rjags",package="BayesCACE")
Useful links