Learn R Programming

dclone (version 1.3-2)

dcoptions: Setting Options

Description

Setting options.

Usage

dcoptions(...)

Arguments

...
Arguments in tag = value form, or a list of tagged values. The tags must come from the parameters described below.

Value

  • When parameters are set by dcoptions, their former values are returned in an invisible named list. Such a list can be passed as an argument to dcoptions to restore the parameter values. Tags are the following:
  • rhatcritical value for testing chain convergence, default is 1.1.
  • autoburninlogical, to use in gelman.diag (default is TRUE).
  • diagcritical value to use for data cloning convergence diagnostics, default is 0.05.
  • verbosenumeric, should output be verbose (>0) or not (0), default is 1.
  • LBlogical, should load balancing be used, default is FALSE.
  • RNGparallel RNG type, either "none" (default), "RNGstream" or "SPRNG", see clusterSetupRNG.

Details

dcoptions is a convenient way of handling options related to the package.

Examples

Run this code
getOption("dcoptions")
ov <- dcoptions(LB=TRUE)
ov
getOption("dcoptions")

Run the code above in your browser using DataLab