talira

Sparse and dense matrix classes and methods for R

open sourceGPL-2.0-or-laterfree

Matrix is a recommended R package (its CRAN priority) with a rich hierarchy of sparse and dense matrix classes: general, symmetric, triangular and diagonal matrices with numeric, logical or pattern entries. Its methods for working with them are efficient, often wrapping BLAS, LAPACK and SuiteSparse, and it also builds sparse model matrices. Many CRAN packages depend on it.

Problems it solves

  • work with a large sparse matrix in R without running out of memory
  • fit a regression on a sparse design matrix in R
  • use sparse linear algebra from R code

Features

  • sparse and dense matrix classes
  • symmetric, triangular and diagonal matrices
  • numeric, logical and pattern entries
  • methods wrapping BLAS, LAPACK and SuiteSparse
  • sparse model matrices