BFc.bpnme: Bayes Factors for a Bayesian circular mixed-effects model

Description Usage Arguments Value Examples

View source: R/classfunctions.R

Description

Outputs Bayes Factors for inequality constrained hypotheses on the circular differences between several levels of a categorical variable and the baseline.

Usage

1
2
## S3 method for class 'bpnme'
BFc(object, hypothesis, type = "anchor")

Arguments

object

a bpnme object obtained from the function bpnme.

hypothesis

the inequality constrained hypothesis to test.

type

type of hypothesis to test c("anchor", "isotropic").

Value

Bayes Factors for inequality constrained hypotheses on mean differences.

Examples

1
2
3
4
library(bpnreg)
fit.Maps <- bpnme(pred.I = Error.rad ~ Maze + Trial.type + L.c + (1|Subject),
data = Maps, its = 100, burn = 1, n.lag = 1)
BFc(fit.Maps, hypothesis = "Maze1 < Trial.type1")

bpnreg documentation built on May 2, 2019, 6:37 a.m.