contrast_weights.poly_contrast_spec: Polynomial Contrast Weights

View source: R/contrast.R

contrast_weights.poly_contrast_specR Documentation

Polynomial Contrast Weights

Description

Compute the contrast weights for a poly_contrast_spec object.

Usage

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

Arguments

x

A poly_contrast_spec object.

term

A term object.

...

Additional arguments (currently unused).

Value

A list containing the term, name, weights, condition names, and contrast specification.


bbuchsbaum/fmrireg documentation built on March 1, 2025, 11:20 a.m.