buildCompMat {combi} | R Documentation

## Build the composition matrix for a certain dimension m dimensions

### Description

Build the composition matrix for a certain dimension m dimensions

### Usage

    buildCompMat(colMat, paramEsts, latentVar, m, norm = TRUE,
      id = seq_len(m), subtractMax = TRUE)

### Arguments

`colMat` | The nxp independence model composition matrix
`paramEsts` | The matrix of feature parameter estimates
`latentVar` | The matrix of latent variables
`m` | the required dimension
`norm` | a boolean, should the composition matrix be normalized?
`id` | The vector of dimensions to consider
`subtractMax` | A boolean, should the maximum be substracted from every composition prior to exponentiation? Recommended for numerical stability

### Value

A matrix with compositions in the rows

[Package combi version 1.0.0 Index]