contrast_weights: contrast_weights

View source: R/all_generic.R

contrast_weightsR Documentation

contrast_weights

Description

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 class 'convolved_term'
contrast_weights(x, ...)

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

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

Arguments

x

the object

...

extra args

Details

Calculate contrast weights for a given contrast specification and term.


bbuchsbaum/fmrireg documentation built on May 16, 2023, 10:56 a.m.