NMF | R Documentation |
Return the NMF decomposition.
NMF(x, rank = 2, nstart = 10, ...)
x |
A numeric dataset (data.frame or matrix). |
rank |
Specification of the factorization rank. |
nstart |
How many random sets should be chosen? |
... |
Other parameters. |
nmf
## Not run:
install.packages ("BiocManager")
BiocManager::install ("Biobase")
install.packages ("NMF")
require (datasets)
data (iris)
NMF (iris [, -5])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.