nmfCheck
enables to quickly check that a given NMF algorithm runs
properly, by applying it to some small random data.
nmfCheck(method = NULL, rank = max(ncol(x)/5, 3), x = NULL, seed = 1234, ...)
NULL
, a random 20 x 10 matrix is generatednmf
.the result of the NMF fit invisibly.
# test default algorithm
nmfCheck()
# test 'lee' algorithm
nmfCheck('lee')