getDesignMatrix: Obtain Design Matrix

View source: R/utils.R

getDesignMatrixR Documentation

Obtain Design Matrix

Description

Modified from covariates pipeline of Menachem Former. Imported from https://github.com/th1vairam/CovariateAnalysis

Usage

getDesignMatrix(covariatesDataFrame, intercept = TRUE, reLevels = list())

Arguments

covariatesDataFrame

Dataframe of covariates.

intercept

intercept in the linear model.

reLevels

TBA.

Value

List containing a design matrix.

Examples

data(iris)
getDesignMatrix(iris)

pouryany/PanomiR documentation built on Aug. 20, 2022, 11:17 p.m.