Construct a contrast that sums to 1 and is used to define contrasts against the baseline.
Arguments
- A
A formula selecting the cells to average. A logical expression (e.g.
~ cond == "A") selects the matching cells; a bare factor name (e.g.~ cond) selects every cell. For a multi-basis HRF the weights are repeated on every basis function of the selected cells.- name
A character string specifying the name of the contrast.
- where
An optional formula specifying the subset of conditions to apply the contrast to.