manualModelMatrix: manualModelMatrix

Description Usage Arguments Value Author(s)

Description

function to manually create a design matrix

Usage

1
manualModelMatrix(X, type = "all", use_base = TRUE, verbose = verbose)

Arguments

X

input matrix

type

(optional, default="all"). Maintain all categories or create reference categories

use_base

(optional, default=TRUE). Use the R base function 'model.matrix'

verbose

(optional, default=FALSE) be verbose

Value

X_out. Design matrix

Author(s)

M. Esteban Munoz H.


emunozh/GREGWT documentation built on May 16, 2019, 5:11 a.m.