md.BF: Extract the Bayes Factor from a Bayesian test

Description Usage Arguments Examples

View source: R/core.R

Description

Extract the Bayes Factor from a Bayesian test

Usage

1
md.BF(bayesTest, ...)

Arguments

bayesTest

the test whose parameter will be extracted

...

Arguments passed on to num2str

num

number to convert to string

precision

decimal places to preserve

isProportion

whether to strip leading 0 for 0.x values

truncateZeros

whether to strip trailing 0s

prefix

prefix for the number string (e.g. " = ")

minPrefix

for transforming numbers like .000 into < .001

Examples

1
2
3
4
5
6
## Not run: 
# two normal distributions with some overlap
data <- data.frame(x = rnorm(100), y = rnorm(100, 0.2))
md.BF(BayesFactor::ttestBF(data$x, data$y, paired = TRUE))

## End(Not run)

mjaquiery/prettyMD documentation built on Oct. 6, 2021, 4:16 p.m.