contr.anova: Anova Style Contrast Matrix

View source: R/design.R

contr.anovaR Documentation

Anova Style Contrast Matrix

Description

Similar to contr.helmert, but then scaled to estimate differences between conditions. Use in design().

Usage

contr.anova(n)

Arguments

n

An integer. The number of items for which to create the contrast

Value

A contrast matrix.

Examples

{
design_DDMaE <- design(data = forstmann,model=DDM, contrasts = list(E = contr.anova),
formula =list(v~S,a~E, t0~1, s~1, Z~1, sv~1, SZ~1),
constants=c(s=log(1)))
}

EMC2 documentation built on April 11, 2025, 5:50 p.m.