Options that can be set for the BayesFactor package

The BayesFactor package has numerous options that can be
set to globally change the behavior of the functions in
the package. These options can be changed using
`options`

().

`BFMaxModels`

Integer; maximum number of models to analyze in

`anovaBF`

or`regressionBF`

`BFprogress`

If

`TRUE`

, progress bars are on by default; if`FALSE`

, they are disabled by default.`BFpretestIterations`

Integer; if sampling is needed to compute the Bayes factor, the package attempts to choose the most efficient sampler. This option controls the number of initial test iterations.

`BFapproxOptimizer`

`"nlm"`

or`"optim"`

; changes the optimization function used for the importance sampler. If one fails, try the other.`BFapproxLimits`

Vector of length two containing the lower and upper limits on on

`log(g)`

before the the posterior returns`-Inf`

. This only affects the initial optimization step for the importance sampler.

BayesFactor documentation built on May 31, 2017, 4:17 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.