`BFBayesFactorConstraint`

is a S4 class that represents the Bayes factors
of multiple model comparisons and the Bayes factor of all individual effects
adhering to user-defined constraints. Furthermore, it also has slots
defined for representing the design matrices of the constraints model, and
for representing prior and posterior estimates.

`generalTestObj`

an object of class

`BFBayesFactor`

representing the model comparisons. All S4 methods as defined in`BFBayesFactor-class`

can be used.`constraints`

an object of class

`BFConstraint-class`

.`individualEffects`

a list containing a named vector for each level of the effect defined in the constraints. Effects are comprised of the common effect plus the individual deviation from it.

`posteriorMean`

a named numeric giving the mean of the common effect.

`posteriorSD`

a named numeric giving the standard deviation of individual effects.

`totalThetas`

a list containing a

`data.frame`

for each level of the effect defined in the constraints. Rows are sampling iterations and columns comprised of individual estimates plus the common effect estimates.`mcmcFull`

an object of class

`BFmcmc`

, containing the MCMC samples from the posterior.`designIndeces`

a list giving the column indeces of the mcmcFull that were used to calculate the estimates of interest.

`observedEffects`

a list containing a named vector for each level of the effect defined in the constraints. Values are the mean observed effect for each individual.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.