Skip to contents

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

Usage

contrast_weights(x, ...)

# S3 method for convolved_term
contrast_weights(x, ...)

# S3 method for fmri_model
contrast_weights(x, ...)

# S3 method for event_model
contrast_weights(x, ...)

Arguments

x

the object

...

extra args

Details

Calculate contrast weights for a given contrast specification and term.