Learn R Programming

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

Matrix (version 0.95-3)

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.95-3

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.95-3)

LU-class

LU Matrix Decompositions
dgCMatrix-class

Compressed, sparse, column-oriented numeric matrices
dgTMatrix-class

Sparse matrices in triplet form
dgeMatrix-class

General S4 Matrix class
dsCMatrix-class

Symmetric, compressed, sparse column matrices
dpoMatrix-class

Positive semi-definite, dense, numeric matrices
Hilbert

Generate a Hilbert matrix
Matrix-class

Class "Matrix" Virtual Class of Matrices
dgBCMatrix-class

Class "dgBCMatrix" Real Sparse Blocked Column Compressed Matrix
norm

Norm of a Matrix
dsyMatrix-class

Symmetric, dense matrices
pdmatrix-class

Positive-definite matrices
Schur

Schur Decomposition of a Matrix
sscCrosstab

Create pairwise crosstabulation
coefGets

Assign parameters
sscCrosstab-class

Pairwise crosstabulations
pdfactor-class

Factors of positive-definite matrices
dCholCMatrix-class

Cholesky Decompositions of dsCMatrix Objects
dtCMatrix-class

Triangular, compressed, sparse column matrices
Matrix

Construct a Classed Matrix
expm

Matrix exponential
tcrossprod

Cross-product of transpose
unpack

Full Storage Representation of Packed Matrices
rcond

Estimate the Reciprocal Condition Number
y

A sample response vector
facmul

Multiplication by Decomposition Factors
mm

A sample sparse model matrix
ssclme-class

lme models as sparse, symmetric matrices
dtrMatrix-class

Triangular, dense, numeric matrices
expand

Expand a Decomposition into Factors
bCrosstab

Create pairwise crosstabulation
Cholesky-class

Cholesky Decompositions
corrmatrix-class

Class "corrmatrix"
lu

Triangular Decomposition of a Square Matrix