Learn R Programming

EMC2 (version 3.1.1)

contr.increasing: Contrast Enforcing Increasing Estimates

Description

Each level will be estimated additively from the previous level

Usage

contr.increasing(n)

Value

a contrast matrix.

Arguments

n

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

Examples

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

Run the code above in your browser using DataLab