dot-set_intercept: Set intercept for contrast matrix

.set_interceptR Documentation

Set intercept for contrast matrix

Description

Given a contrast matrix and a desired level, change the intercept via manipulating underlying hypothesis matrix.

Usage

.set_intercept(contrast_matrix, intercept_level)

Arguments

contrast_matrix

Contrast matrix to use

intercept_level

Level to use as intercept, must be present in the row names of the contrast matrix

Value

Manipulated contrast matrix


tsostarics/contrastable documentation built on Jan. 25, 2025, 1:33 p.m.