Skip to content

nnmf

1.4

Nonnegative Matrix Factorization

0packages depend
2.9Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Michail TsagrisFirst published 2026-01-094 releasesCRAN page ↗

Nonnegative matrix factorization (NMF) is a technique to factorize a matrix with nonnegative values into the product of two matrices. Covariates are also allowed. Parallel computing is an option to enhance the speed and high-dimensional and large scale (and/or sparse) data are allowed. Relevant papers include: Wang Y. X. and Zhang Y. J. (2012). Nonnegative matrix factorization: A comprehensive review. IEEE Transactions on Knowledge and Data Engineering, 25(6): 1336-1353 doi:10.1109/TKDE.2012.51 and Kim H. and Park H. (2008). Nonnegative matrix factorization based on alternating nonnegativity constrained least squares and active set method. SIAM Journal on Matrix Analysis and Applications, 30(2): 713-730 doi:10.1137/07069239X.

Install

Health

CRAN checks
13OK
Slowest check: 4.7 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
13
Dependencies · direct
Check history
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-18
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-12
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • ERROR2026-03-10
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
100%

Downloads

2.9K
CRAN downloads in the past year
Rank #7,981 · ~8/day · ~239/mo
Daily download trend is not available in this view yet.
34730 days
1.4K90 days
2.9K1 year
Compare downloads with other packages →
Also on180 r2u13 autocran

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0
LinkingTo (2)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
Rd 756 (42%)C++ 716 (40%)R 332 (18%)
Code characteristics
Cyclomatic complexity
1.0 median / 10 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

30 8 exported

Complexity

3.5 avg / 10 max

Call network

30 nodes / 15 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author · added in 1.3
Author · added in 1.3
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.4Latest
    2026-04-13 · current release · diff ↗
  • 1.3
    2026-03-17 · diff ↗
  • 1.1
    2026-02-03 · diff ↗
  • 1.0
    2026-01-09
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-01-09
Total releases
4 / 1 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.0
Download size
7.3 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →