contr.bayes: Contrast to enforce equal prior variance on each level
Description
Typical contrasts impose different levels of marginal prior variance for the different levels.
This contrast can be used to ensure that each level has equal marginal priors (Rouder, Morey, Speckman, & Province; 2012).
Usage
contr.bayes(n)
Value
A contrast matrix.
Arguments
n
An integer. The number of items for which to create the contrast