construct_design {MMUPHin}R Documentation

Construct a design model matrix given a metadata data frame, with the option to exclude the intercept.

Description

Construct a design model matrix given a metadata data frame, with the option to exclude the intercept.

Usage

construct_design(data, with_intercept = TRUE)

Arguments

data

metadata data frame.

with_intercept

should intercept terms be included in the model

Value

design matrix.


[Package MMUPHin version 1.8.0 Index]