decode.parameter.name: Decodes MultiBUGS parameter names

Description Usage Arguments Value See Also

Description

Decodes MultiBUGS 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

Usage

1

Arguments

a

one element of the first column of ‘codaIndex.txt

Value

list with elements:

root

name of parameter, e.g. beta

dimension

number of indexes, e.g. 2

indexes

indexes, e.g. 3 and 14

given a == 'beta[3, 14]'

See Also

The main function to be called by the user is bugs.


MultiBUGS/R2MultiBUGS documentation built on May 22, 2019, 3:38 p.m.