Description Usage Arguments Value
Build the composition matrix for a certain dimension m dimensions
1 2 | 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.