contrast_weights | R Documentation |
This function calculates the contrast weights based on the contrast specification provided by the user. It is a generic function that dispatches to the appropriate method depending on the class of the contrast
contrast_weights(x, ...)
## S3 method for class 'convolved_term'
contrast_weights(x, ...)
## S3 method for class 'fmri_model'
contrast_weights(x, ...)
## S3 method for class 'event_model'
contrast_weights(x, ...)
x |
the object |
... |
extra args |
Calculate contrast weights for a given contrast specification and term.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.