log_BF: Calculate log Bayes factor between an association model with...

Description Usage Arguments Value See Also

View source: R/convenience.R

Description

Compute log Bayes factor of an association model and model gamma = 0.

Usage

1
log_BF(y, tau0_shape = c(1, 1), ...)

Arguments

y

Logical vector of case (TRUE) control (FALSE) status.

tau0_shape

Beta shape hyper-priors for prior on rate of case labels.

...

Arguments to pass to bevimed_m.

Value

Log Bayes factor.

See Also

bevimed_m, prob_association_m


BeviMed documentation built on Feb. 1, 2021, 1:06 a.m.