fct: Generate design for a factor covariate
Description
Generate design for a factor covariate
Usage
fct(x, contr = "contr.sum")
Arguments
x
a covariate that can be treated as a factor
contr
(character) name of the contrasts
associated with the factor. Defaults to "contr.sum"
.
Value
design matrix for a factor