dmultinom_sparse: Get log multinomial density of columns in a sparse matrix.
Description
Get log multinomial density of columns in a sparse matrix.
Usage
dmultinom_sparse(X, prob)
Arguments
X
A sparseMatrix, observations in rows, variables in columns
prob
Probability parameter of multinomial. Length must be the
same as the number of columns in X.