Skip to contents

Compute the contrast weights for a unit_contrast_spec object.

Usage

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

Arguments

x

A unit_contrast_spec object.

term

A term object.

...

Additional arguments (currently unused).

Value

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