iBUGS (version 0.1.4)

bugs.options: Set or Query Options to Run WinBUGS/OpenBUGS/JAGS

Description

Set or query options in the bugs/jags function.

Usage

bugs.options(...)

Arguments

...
any options can be defined, using ‘name = value’ or by passing a list of such tagged values. See the examples below.

Value

A list containing all the options when the query parameter was empty; or the option value when a single parameter was queried. The old option list will be returned if any new options were set.

See Also

bugs, jags

Examples

Run this code
## Not run: 
# 
# ## list all the options
# bugs.options()
# 
# ## set options
# bugs.options(n.chains = 1, n.iter = 10000)
# 
# ## all these can be set via the GUI: iBUGS()
# 
# ## End(Not run)

Run the code above in your browser using DataLab