Skip to contents

Compute the contrast weights for a polynomial contrast specification.

Usage

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

Arguments

x

A poly_contrast_spec object.

term

A term object.

...

Additional arguments (currently not used).

Value

A list containing the polynomial contrast weights and related information.