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

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/bugs.options.R

Description

Set or query options in the bugs/jags function.

Usage

1

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.

Note

The only option that is not in bugs is ‘model.name’ which specifies the R object name to be used to store the returned values from bugs. There are several options in bugs and jags are omitted since they are not very usefull.

Author(s)

Yihui Xie <http://yihui.name>

See Also

bugs, jags

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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)

iBUGS documentation built on May 29, 2017, 5:16 p.m.