Learn R Programming

fdm2id (version 0.9.1)

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 {
require (datasets)
data (iris)
NMF (iris [, -5], nstart = 1)
# }

Run the code above in your browser using DataLab