buildCompMat: Build the composition matrix for a certain dimension m...

Description Usage Arguments Value

View source: R/buildCompMat.R

Description

Build the composition matrix for a certain dimension m dimensions

Usage

1
2
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


combi documentation built on Nov. 8, 2020, 5:34 p.m.

Related to buildCompMat in combi...