buildCentMat {RCM} | R Documentation

## A function to build a centering matrix based on a dataframe

### Description

A function to build a centering matrix based on a dataframe

### Usage

    buildCentMat(object)

### Arguments

`object` | an rcm object or dataframe

### Value

a centering matrix consisting of ones and zeroes, or a list with components

`centMat` | a centering matrix consisting of ones and zeroes
`datFrame` | The dataframe with factors with one level removed

[Package RCM version 1.0.0 Index]