buildCompMat | R Documentation |
Build the composition matrix for a certain dimension m dimensions
buildCompMat(
colMat,
paramEsts,
latentVar,
m,
norm = TRUE,
id = seq_len(m),
subtractMax = TRUE
)
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 |
A matrix with compositions in the rows
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.