Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

options-BayesFactor

options() for package BayesFactor


Description

Options that can be set for the BayesFactor package

Details

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.

BFfactorsMax

Maximum number of factors to try to do enumeration with in generalTestBF.

BFcheckProbabilityList

Check for duplicate models when creating BFprobability objects?

See Also


BayesFactor

Computation of Bayes Factors for Common Designs

v0.9.12-4.2
GPL-2
Authors
Richard D. Morey [aut, cre, cph], Jeffrey N. Rouder [aut], Tahira Jamil [ctb, cph], Simon Urbanek [ctb, cph], Karl Forner [ctb, cph], Alexander Ly [ctb, cph]
Initial release
2018-05-09

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.