Description Usage Arguments Value
Given an n x p matrix of count data x
, as well as a
p x k matrix of probabilities p
, return the probabilities
of each sample for the k groups in a n x k matrix. If x
has any non-integer values, they are rounded to the nearest integer.
1 |
x |
A sparseMatrix that is a sample by feature matrix of counts. |
p |
Matrix with probability parameters of multinomials for each group. Number of rows must be same as number of columns in X |
mc |
Numeric vector with mixture coefficients. Length must be same as
number of columns in |
labels |
Numeric vector of same length as number of rows in x. Fixes the group probabilities of the integer in this vector element to 1. In other words, the latent variable for these samples are treated as known. |
a numeric matrix with n samples by k groups containing log multinomial densities under the given parameters of the MMM.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.