Learn R Programming

⚠️There's a newer version (1.7-2) of this package.Take me there.

Matrix (version 0.9-1)

A Matrix package for R

Description

Classes and methods for numerical linear algebra using Lapack, LDL, and Metis.

Copy Link

Version

Install

install.packages('Matrix')

Monthly Downloads

118,373

Version

0.9-1

License

GPL version 2 or later. This R package includes code from the LDL and Metis packages, which are covered by separate copyrights. See the file Copyrights for details.

Maintainer

Douglas Bates

Last Published

March 11th, 2025

Functions in Matrix (0.9-1)

corMatrix

Generate the correlation matrix
poMatrix-class

Positive semi-definite, dense, real matrices
pdfactor-class

Factors of positive-definite matrices
facmul

Multiplication by Decomposition Factors
Schur

Schur Decomposition of a Matrix
LU-class

LU decompositions
lu

Triangular Decomposition of a Square Matrix
sscChol-class

Cholesky decompositions of sscMatrix objects
trMatrix-class

Triangular, dense, non-packed, real matrices
Cholesky-class

Cholesky decompositions
Matrix

Construct a Classed Matrix
pdmatrix-class

Positive-definite matrices
coefGets

Assign parameters
sscCrosstab

Create pairwise crosstabulation
cscMatrix-class

Class "cscMatrix" compressed, sparse, column Matrix
corFactor

Extract the correlation factor
cscBlocked-class

Class "cscBlocked" compressed, sparse, blocked Matrix
corrmatrix-class

Class "corrmatrix"
geMatrix-class

General S4 Matrix class
syMatrix-class

Class "syMatrix" of symmetric matrices
tcrossprod

Cross-product of transpose
pdMatrix

Return the positive-definite matrix
Hilbert

Generate a Hilbert matrix
sscMatrix-class

Symmetric, compressed, sparse column matrices
Matrix-class

Class "Matrix" Virtual class of Matrices
matrixGets

Assign the matrix
pdFactor

Square-root factor
unpack

Full Storage Representation of Packed Matrices
y

A sample response vector
mm

A sample sparse model matrix
rcond

Estimate the Reciprocal Condition Number
bCrosstab

Create pairwise crosstabulation
norm

Norm of a Matrix
ssclme-class

lme models as sparse, symmetric matrices
expand

Expand a Decomposition into Factors
tripletMatrix-class

Class "tripletMatrix" sparse matrices in triplet form
tscMatrix-class

Triangular, compressed, sparse column matrices
ScotsSec

Scottish secondary school scores
sscCrosstab-class

Pairwise crosstabulations