View source: R/classfunctions.R
BFc.bpnr | R Documentation |
Outputs Bayes Factors for the circular differences between several levels of a categorical variable and the baseline.
## S3 method for class 'bpnr'
BFc(object, hypothesis, type = "anchor")
object |
a |
hypothesis |
the inequality constrained hypothesis to test. |
type |
type of hypothesis to test |
Bayes Factors for inequality constrained hypotheses on mean differences.
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.