.set_intercept {contrastable}R 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


[Package contrastable version 1.0.2 Index]