README.md

gillis.nmf R package

This repository contains a R package for performing Nonnegative Matrix Factorization algorithms. This R code is translated from MATLAB code in the Nonnegative Matrix Factorization book (N. Gillis, 2020).

Installing the package

To install the gillis.nmf package first you need to install devtools:

install.packages("devtools")
library(devtools)
install_github("swanjin/gillis.nmf")

Running the package

One of the functions in the gillis.nmf package is spa. To get minimal help:

library(gillis.nmf)
?spa

spa example

spa(matrix(1:16,4),2,c('normalize'))


swanjin/gillis.nmf documentation built on Dec. 23, 2021, 6:44 a.m.