contrast_weights.column_contrast_spec | R Documentation |
Compute contrast weights for a column_contrast_spec
object by targeting
design matrix columns based on regex patterns.
## S3 method for class 'column_contrast_spec'
contrast_weights(x, term, ...)
x |
A |
term |
An |
... |
Additional arguments (currently unused). |
A list containing the contrast details:
term |
The original |
name |
The name of the contrast. |
weights |
A numeric matrix where rows correspond to the full design
matrix columns (from |
condnames |
Character vector of all potential expanded condition names from |
contrast_spec |
The original |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.