construct_design: Construct a design model matrix given a metadata data frame,...

Description Usage Arguments Value

View source: R/helpers_adjust_batch.R

Description

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

Usage

1
construct_design(data, with_intercept = TRUE)

Arguments

data

metadata data frame.

with_intercept

should intercept terms be included in the model

Value

design matrix.


MMUPHin documentation built on April 9, 2021, 6:01 p.m.