Other packages > Find by keyword >

Matrix  

Sparse and Dense Matrix Classes and Methods
View on CRAN: Click here


Download and install Matrix package within the R console
Install from CRAN:
install.packages("Matrix")

Install from Github:
library("remotes")
install_github("cran/Matrix")

Install by package version:
library("remotes")
install_version("Matrix", "1.7-6")



Attach the package and use:
library("Matrix")
Maintained by
Martin Maechler
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2000-07-15
Latest Update: 2025-03-11
Description:
A rich hierarchy of sparse and dense matrix classes, including general, symmetric, triangular, and diagonal matrices with numeric, logical, or pattern entries. Efficient methods for operating on such matrices, often wrapping the 'BLAS', 'LAPACK', and 'SuiteSparse' libraries.
How to cite:
Martin Maechler (2000). Matrix: Sparse and Dense Matrix Classes and Methods. R package version 1.7-6, https://cran.r-project.org/web/packages/Matrix. Accessed 09 Oct. 2026.
Previous versions and publish date:
0.2-1 (2000-07-15 02:57), 0.2-4 (2000-07-19 14:32), 0.3-1 (2000-07-25 08:37), 0.3-3 (2000-08-11 18:19), 0.3-5 (2000-08-20 08:22), 0.3-6 (2000-10-30 16:11), 0.3-7 (2000-12-07 19:58), 0.3-8 (2001-01-11 11:54), 0.3-9 (2001-03-09 08:26), 0.3-10 (2001-05-05 09:22), 0.3-13 (2001-05-11 12:54), 0.3-15 (2001-05-16 07:43), 0.3-16 (2001-12-14 10:22), 0.3-17 (2002-04-30 19:59), 0.3-18 (2002-05-03 17:35), 0.3-19 (2002-07-23 16:19), 0.3-20 (2002-10-09 11:16), 0.3-21 (2002-10-27 09:00), 0.3-22 (2003-02-03 21:00), 0.3-23 (2003-04-16 21:16), 0.3-24 (2003-04-20 08:24), 0.3-25 (2003-10-30 09:44), 0.3-26 (2003-11-04 18:24), 0.8-2 (2004-04-12 14:57), 0.8-3 (2004-04-13 09:17), 0.8-4 (2004-04-18 23:01), 0.8-5 (2004-04-21 10:53), 0.8-6 (2004-04-29 20:21), 0.8-7 (2004-06-02 10:40), 0.8-8 (2004-06-08 08:26), 0.8-9 (2004-07-07 09:31), 0.8-10 (2004-07-08 12:34), 0.8-11 (2004-08-26 19:21), 0.8-12 (2004-09-06 21:03), 0.8-13 (2004-09-13 21:24), 0.8-14 (2004-09-14 18:20), 0.8-15 (2004-10-04 10:35), 0.8-16 (2004-11-03 14:21), 0.8-17 (2004-11-07 22:00), 0.8-19 (2004-12-14 11:22), 0.8-21 (2004-12-27 13:49), 0.8-22 (2005-01-21 23:30), 0.9-1 (2005-01-24 10:55), 0.95-1 (2005-02-21 09:37), 0.95-2 (2005-02-25 09:07), 0.95-3 (2005-03-01 18:53), 0.95-4 (2005-03-31 08:45), 0.95-5 (2005-04-01 09:30), 0.95-6 (2005-04-19 10:15), 0.95-7 (2005-04-21 10:07), 0.95-8 (2005-05-11 10:07), 0.95-9 (2005-05-11 18:23), 0.95-10 (2005-05-20 14:48), 0.95-11 (2005-05-30 12:50), 0.95-12 (2005-06-02 09:55), 0.95-13 (2005-06-02 18:53), 0.96-1 (2005-06-13 10:12), 0.96-2 (2005-06-14 09:41), 0.96-3 (2005-06-16 18:10), 0.97-1 (2005-07-05 11:47), 0.97-2 (2005-07-09 12:19), 0.97-3 (2005-07-11 22:30), 0.97-4 (2005-07-14 15:37), 0.98-1 (2005-08-10 07:47), 0.98-2 (2005-08-09 10:37), 0.98-3 (2005-08-11 08:59), 0.98-5 (2005-08-20 23:33), 0.98-7 (2005-09-09 13:48), 0.99-1 (2005-10-26 23:41), 0.99-2 (2005-11-15 09:29), 0.99-3 (2005-12-12 22:02), 0.99-4 (2006-01-05 08:48), 0.99-6 (2006-01-09 10:00), 0.995-1 (2006-01-17 11:12), 0.995-2 (2006-01-19 12:39), 0.995-4 (2006-01-26 13:54), 0.995-5 (2006-02-08 10:35), 0.995-6 (2006-03-16 11:19), 0.995-7 (2006-03-17 12:24), 0.995-8 (2006-03-22 10:14), 0.995-10 (2006-05-02 10:20), 0.995-11 (2006-06-13 10:54), 0.995-12 (2006-07-19 18:21), 0.995-13 (2006-08-04 13:09), 0.995-14 (2006-08-07 12:49), 0.995-15 (2006-08-19 19:24), 0.995-16 (2006-09-02 21:58), 0.995-18 (2006-09-14 09:58), 0.995-19 (2006-09-18 10:37), 0.995-20 (2006-09-20 11:01), 0.9975-0 (2006-09-19 12:59), 0.9975-1 (2006-10-03 12:39), 0.9975-2 (2006-10-06 13:30), 0.9975-3 (2006-10-08 21:14), 0.9975-5 (2006-10-24 10:48), 0.9975-6 (2006-11-09 10:44), 0.9975-7 (2006-12-17 19:58), 0.9975-8 (2007-01-01 15:22), 0.9975-9 (2007-02-03 19:47), 0.9975-10 (2007-02-11 13:04), 0.9975-11 (2007-02-17 09:57), 0.99875-0 (2007-05-14 09:58), 0.99875-1 (2007-05-15 09:59), 0.99875-2 (2007-06-07 21:18), 0.999375-0 (2007-07-07 20:58), 0.999375-1 (2007-08-03 18:17), 0.999375-2 (2007-08-25 18:46), 0.999375-3 (2007-10-07 10:29), 0.999375-4 (2008-01-13 20:02), 0.999375-5 (2008-03-07 19:25), 0.999375-6 (2008-03-21 20:24), 0.999375-7 (2008-03-24 22:32), 0.999375-8 (2008-03-26 09:20), 0.999375-9 (2008-03-30 21:07), 0.999375-10 (2008-06-26 09:46), 0.999375-11 (2008-07-28 07:59), 0.999375-13 (2008-08-31 13:01), 0.999375-14 (2008-09-09 12:36), 0.999375-15 (2008-09-28 20:24), 0.999375-16 (2008-10-19 18:58), 0.999375-17 (2008-12-11 11:13), 0.999375-18 (2009-01-20 10:07), 0.999375-19 (2009-01-30 08:55), 0.999375-20 (2009-02-01 11:40), 0.999375-21 (2009-02-15 10:26), 0.999375-22 (2009-03-13 10:08), 0.999375-23 (2009-03-31 19:36), 0.999375-24 (2009-04-11 23:16), 0.999375-25 (2009-04-19 21:49), 0.999375-26 (2009-04-29 19:56), 0.999375-27 (2009-05-25 22:24), 0.999375-28 (2009-06-09 07:49), 0.999375-29 (2009-06-11 12:36), 0.999375-30 (2009-07-30 14:51), 0.999375-31 (2009-10-08 14:41), 0.999375-32 (2009-11-22 17:11), 0.999375-33 (2009-12-11 19:53), 0.999375-35 (2010-02-03 20:44), 0.999375-36 (2010-02-04 20:40), 0.999375-37 (2010-02-05 20:12), 0.999375-38 (2010-04-02 19:05), 0.999375-39 (2010-05-19 10:12), 0.999375-40 (2010-06-04 20:17), 0.999375-41 (2010-07-03 19:24), 0.999375-42 (2010-07-15 12:25), 0.999375-43 (2010-08-05 22:52), 0.999375-44 (2010-09-13 19:48), 0.999375-45 (2010-11-11 13:40), 0.999375-46 (2010-12-15 09:34), 0.999375-47 (2011-02-24 10:00), 0.999375-48 (2011-03-17 17:01), 0.999375-49 (2011-04-01 23:06), 0.999375-50 (2011-04-09 09:48), 0.9996875-1 (2011-08-09 13:36), 0.9996875-2 (2011-08-10 07:49), 0.9996875-3 (2011-08-13 19:46), 1.0-0 (2011-10-04 17:58), 1.0-1 (2011-10-18 12:49), 1.0-2 (2011-11-20 19:43), 1.0-3 (2012-01-14 10:00), 1.0-4 (2012-02-22 09:25), 1.0-5 (2012-03-15 22:39), 1.0-6 (2012-06-18 16:36), 1.0-9 (2012-09-05 14:10), 1.0-10 (2012-10-23 09:37), 1.0-11 (2013-02-08 18:08), 1.0-12 (2013-03-26 19:26), 1.0-13 (2013-09-11 11:09), 1.0-14 (2013-09-13 13:17), 1.1-0 (2013-10-25 08:49), 1.1-1.1 (2013-12-30 22:08), 1.1-1 (2013-12-29 07:43), 1.1-2-2 (2014-03-04 13:33), 1.1-2 (2014-01-28 22:28), 1.1-3 (2014-03-31 12:51), 1.1-4 (2014-06-15 20:26), 1.1-5-1 (2015-03-23 22:33), 1.1-5 (2015-01-18 19:50), 1.2-0 (2015-04-04 16:16), 1.2-1 (2015-06-01 17:38), 1.2-2 (2015-07-08 09:35), 1.2-3 (2015-11-28 14:45), 1.2-4 (2016-03-02 16:11), 1.2-5 (2016-04-17 14:01), 1.2-6 (2016-05-02 15:51), 1.2-7.1 (2016-09-01 12:23), 1.2-7 (2016-08-28 22:56), 1.2-8 (2017-01-20 14:31), 1.2-9 (2017-03-14 18:17), 1.2-10 (2017-05-04 00:53), 1.2-11 (2017-08-21 12:31), 1.2-12 (2017-11-20 19:58), 1.2-13 (2018-04-02 12:40), 1.2-14 (2018-04-09 19:11), 1.2-15 (2018-11-01 19:30), 1.2-16 (2019-03-08 16:33), 1.2-17 (2019-03-22 23:57), 1.2-18 (2019-11-27 16:20), 1.3-0 (2020-12-22 07:40), 1.3-2 (2021-01-06 18:40), 1.3-3 (2021-05-04 12:50), 1.3-4 (2021-06-01 08:10), 1.4-0 (2021-12-08 22:10), 1.4-1 (2022-03-23 17:30), 1.5-0 (2022-09-11 00:03), 1.5-1 (2022-09-13 10:10), 1.5-3 (2022-11-11 09:30), 1.5-4.1 (2023-05-18 10:02), 1.5-4 (2023-04-04 10:20), 1.6-0 (2023-07-08 13:00), 1.6-1.1 (2023-09-18 19:40), 1.6-1 (2023-08-14 09:20), 1.6-2 (2023-11-08 01:10), 1.6-3 (2023-11-14 12:55), 1.6-4 (2023-11-30 15:40), 1.6-5 (2024-01-11 18:50), 1.7-0 (2024-04-26 14:03), 1.7-1 (2024-10-18 20:10), 1.7-2 (2025-01-23 17:40), 1.7-3 (2025-03-11 08:20), 1.7-4 (2025-08-28 13:50), 1.7-5 (2026-03-21 15:40), (2026-07-25 04:50)
Other packages that cited Matrix R package
View Matrix citation profile
Other R packages that Matrix depends, imports, suggests or enhances
Complete documentation for Matrix
Functions, R codes and Examples using the Matrix R package
Some associated functions: BunchKaufman-methods . CAex . CHMfactor-class . Cholesky-class . Cholesky . CsparseMatrix-class . Diagonal . Hilbert . KNex . KhatriRao . LU-class . Matrix-class . Matrix . MatrixClass . MatrixFactorization-class . RsparseMatrix-class . Schur-class . Schur . SparseM-conv . Subassign-methods . TsparseMatrix-class . USCounties . Xtrct-methods . abIndex-class . abIseq . all-methods . all.equal-methods . atomicVector-class . band . bandSparse . bdiag . boolean-matprod . cBind . chol . chol2inv-methods . colSums . compMatrix-class . condest . dMatrix-class . ddenseMatrix-class . ddiMatrix-class . denseMatrix-class . dgCMatrix-class . dgRMatrix-class . dgTMatrix-class . dgeMatrix-class . diagU2N . diagonalMatrix-class . dimScale . dmperm . dpoMatrix-class . drop0 . dsCMatrix-class . dsRMatrix-class . dsparseMatrix-class . dsyMatrix-class . dtCMatrix-class . dtRMatrix-class-def . dtpMatrix-class . dtrMatrix-class . expand . expm . externalFormats . facmul . forceSymmetric . formatSparseM . generalMatrix-class . graph2T . image-methods . indMatrix-class . index-class . invPerm . is.na-methods . is.null.DN . isSymmetric-methods . isTriangular . kronecker-methods . ldenseMatrix-class . ldiMatrix-class . lgeMatrix-class . lsparseMatrix-classes . lsyMatrix-class . ltrMatrix-class . lu . mat2triplet . matrix-products . nMatrix-class . ndenseMatrix-class . nearPD . ngeMatrix-class . nnzero . norm . nsparseMatrix-classes . nsyMatrix-class . ntrMatrix-class . number-class . pMatrix-class . packedMatrix-class . printSpMatrix . qr-methods . rankMatrix . rcond . rep2abI . replValue-class . rleDiff-class . rsparsematrix . solve-methods . spMatrix . sparse.model.matrix . sparseLU-class . sparseMatrix-class . sparseMatrix . sparseQR-class . sparseVector-class . sparseVector . symmetricMatrix-class . symmpart . triangularMatrix-class . uniqTsparse . unpack . unpackedMatrix-class . unused-classes . updown . wrld_1deg . 
Some associated R codes: AllClass.R . AllGeneric.R . Auxiliaries.R . BunchKaufman.R . CHMfactor.R . Csparse.R . HBMM.R . Hilbert.R . KhatriRao.R . LU.R . Math.R . Matrix.R . MatrixFactorization.R . Ops.R . Rsparse.R . SparseM-conv.R . Summary.R . Tsparse.R . abIndex.R . bandSparse.R . bind2.R . chol.R . colSums.R . condest.R . corMatrix.R . denseMatrix.R . determinant.R . diagMatrix.R . dpoMatrix.R . dppMatrix.R . eigen.R . expm.R . graph-conv.R . image.R . indMatrix.R . is.na.R . kronecker.R . nearPD.R . nnzero.R . norm.R . not.R . pMatrix.R . packedMatrix.R . products.R . qr.R . rankMatrix.R . rcond.R . solve.R . spModels.R . sparseMatrix.R . sparseQR.R . sparseVector.R . symmetricMatrix.R . triangularMatrix.R . unpackedMatrix.R . which.R . zzz.R .  Full Matrix package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

githubinstall  
A Helpful Way to Install R Packages Hosted on GitHub
Provides an helpful way to install packages hosted on GitHub. ...
Download / Learn more Package Citations See dependency  
binovisualfields  
Depth-Dependent Binocular Visual Fields Simulation
Simulation and visualization depth-dependent integrated visual fields. Visual fields are measured mo ...
Download / Learn more Package Citations See dependency  
separationplot  
Separation Plots
Visual representations of model fit or predictive success in the form of "separation plots." See Gr ...
Download / Learn more Package Citations See dependency  
baffle  
Make Waffle Plots with Base Graphics
Waffle plots are rectangular pie charts that represent a quantity or abundances using colored squar ...
Download / Learn more Package Citations See dependency  
TRMF  
Temporally Regularized Matrix Factorization
Functions to estimate temporally regularized matrix factorizations (TRMF) for forecasting and imputi ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

28,989

R Packages

247,686

Dependencies

76,729

Author Associations

28,990

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA