contr.bayes | R Documentation |
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).
contr.bayes(n)
n |
An integer. The number of items for which to create the contrast |
A contrast matrix.
{
design_DDMaE <- design(data = forstmann,model=DDM, contrasts = list(E = contr.bayes),
formula =list(v~S,a~E, t0~1, s~1, Z~1, sv~1, SZ~1),
constants=c(s=log(1)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.