contrast_weights.contrast_set: Contrast Weights for a Contrast Set

View source: R/contrast.R

contrast_weights.contrast_setR Documentation

Contrast Weights for a Contrast Set

Description

Compute the contrast weights for each contrast specification within a contrast_set object.

Usage

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

Arguments

x

A contrast_set object (a list of contrast_spec objects).

term

A term object against which weights should be computed.

...

Additional arguments passed to individual contrast_weights methods.

Value

A named list where each element is the result of calling contrast_weights on the corresponding contrast_spec in the set. The list names are the names of the individual contrasts.


bbuchsbaum/fmrireg documentation built on June 10, 2025, 8:18 p.m.