design_matrixR Documentation

Extract design matrix

Description

Accessor method for extracting a design matrix from a sleuth object

Usage

design_matrix(obj, which_model = "full")

Arguments

obj

a sleuth object

which_model

a character string of the model

Value

the model.matrix used to fit which_model