decode.parameter.name {R2OpenBUGS} | R Documentation |
Decodes OpenBUGS parameter names (e.g.,
beta[3,14]
becomes beta
with 2 indexes: 3 and 14) for
use by the bugs.sims
function - intended for internal
use
decode.parameter.name(a)
a |
one element of the first column of ‘codaIndex.txt’ |
list with elements:
root |
name of parameter, e.g. |
dimension |
number of |
indexes |
indexes, e.g. 3 and 14 |
given a == "beta[3, 14]"
The main function to be called by the user is bugs
.