Description Usage Arguments Value
Simulate (ZI)-NMF data from theta, beta, and inflation parameters
1 | sim_from_params(theta, beta, zero_inf_prob = 0)
|
theta |
[matrix] An N x K matrix of scores |
beta |
[matrix] A V x K matrix of factors |
zero_inf_prob |
[numeric] The amount of zero inflation; i.e., the proportion in [0, 1] that will be set to zero. |
y [matrix] The N x V matrix of observed (potentially zero-inflated counts).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.