nmf_sim: Simulate NMF Data (optionally zero inflated)

Description Usage Arguments Value

View source: R/sim.R

Description

To facilitate simulation across many parameters, it's useful to have a single function to generate all the quantities of interest.

Usage

1
nmf_sim(opts)

Arguments

opts

[list] A list containing parameters for simulation. Any options that are not specified will be filled in with defaults, according to merge_nmf_defaults().

Value

A list with the latent thetas, betas, mask, and observed Y.


krisrs1128/nmfSim documentation built on May 20, 2019, 1:30 p.m.