BFc: Bayes Factors

Description Usage Arguments Details Examples

View source: R/classfunctions.R

Description

BF gives Bayes factors for inequality constrained hypotheses on circular mean differences.

Usage

1
BFc(object, hypothesis, type = "anchor")

Arguments

object

an object used to select a method.

hypothesis

the inequality constrained hypothesis to test.

type

type of hypothesis to test c("anchor", "isotropic"). As of yet only anchor hypotheses can be tested.

Details

the methods BFc.bpnr and BFc.bpnme have their own help page.

Examples

1
2
3
4
library(bpnreg)
fit.Motor <- bpnr(pred.I = Phaserad ~ 1 + Cond, data = Motor,
its = 100, burn = 10, n.lag = 3)
BFc(fit.Motor, hypothesis = "Condsemi.imp < Condimp")

bpnreg documentation built on Aug. 6, 2021, 9:07 a.m.