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

View source: R/helpers_adjust_batch.R

construct_designR 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.


biobakery/MMUPHin documentation built on March 30, 2024, 4:50 a.m.