attach.jags {R2jags} | R Documentation |
These are wraper functions for attach.bugs
and detach.bugs
, which
attach or detach three-way-simulation array of bugs object to the search path. See attach.all
for details.
attach.jags(x, overwrite = NA) detach.jags()
x |
An rjags object. |
overwrite |
If TRUE , objects with identical names in the Workspace
(.GlobalEnv) that are masking objects in the database to be attached will be deleted.
If NA (the default) and an interactive session is running, a dialog box asks
the user whether masking objects should be deleted. In non-interactive mode, behaviour
is identical to overwrite=FALSE , i.e. nothing will be deleted. |
See attach.bugs
for details
Yu-Sung Su ys463@columbia.edu,
Sibylle Sturtz and Uwe Ligges and Andrew Gelman. (2005). “R2WinBUGS: A Package for Running WinBUGS from R.” Journal of Statistical Software 3 (12): 1–6.
# See the example in ?jags for the usage.