buildCovMat: A function to build the covariate matrix of the constraints

View source: R/buildCovMat.R

buildCovMatR Documentation

A function to build the covariate matrix of the constraints

Description

A function to build the covariate matrix of the constraints

Usage

buildCovMat(datFrame)

Arguments

datFrame

the dataframe with which the covariate matrix is to be built

In this case we will 1) Include dummy's for every level of the categorical variable, and force them to sum to zero. This is needed for plotting and required for reference level indepenent normalization. 2) Exclude an intercept. The density function f() will provide this already.

Value

a list with components

covModelMat

The model matrix

datFrame

The dataframe used to construct the model matrix


CenterForStatistics-UGent/combi documentation built on Aug. 22, 2023, 11:02 p.m.