Learn R Programming

fdm2id (version 0.9.5)

NMF: Non-negative Matrix Factorization

Description

Return the NMF decomposition.

Usage

NMF(x, rank = 2, nstart = 10, ...)

Arguments

x

A numeric dataset (data.frame or matrix).

rank

Specification of the factorization rank.

nstart

How many random sets should be chosen?

...

Other parameters.

See Also

nmf

Examples

Run this code
# NOT RUN {
install.packages ("BiocManager")
BiocManager::install ("Biobase")
install.packages ("NMF")
require (datasets)
data (iris)
NMF (iris [, -5])
# }

Run the code above in your browser using DataLab