Learn R Programming

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

Matrix (version 0.995-12)

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.995-12

License

GPL version 2 or later. This R package includes code from the Metis package and from NIST. This code is covered by separate copyrights; see the file Copyrights for details. This R package includes code from the University of Florida sparse matrix library maintained by Tim Davis. All sections of that code are covered by the GPL or LGPL licenses. See the directory UFsparse for details.

Maintainer

Douglas Bates

Last Published

March 11th, 2025

Functions in Matrix (0.995-12)

Cholesky-class

Cholesky and Bunch-Kaufman Decompositions
Matrix-class

Virtual Class "Matrix" Class of Matrices
CAex

Albers' example Matrix with "Difficult" Eigen Factorization
dtCMatrix-class

Triangular, (compressed) sparse column matrices
CHMfactor-class

CHOLMOD-based Cholesky factorizations
ddiMatrix-class

Class "ddiMatrix" of Diagonal Numeric Matrices
RsparseMatrix-class

Class "RsparseMatrix" of Sparse Matrices in Column-compressed Form
VarCorr

Extract variance and correlation components
TsparseMatrix-class

Class "TsparseMatrix" of Sparse Matrices in Triplet Form
Hilbert

Generate a Hilbert matrix
corrmatrix-class

Class "corrmatrix"
VarCorr-class

Class "VarCorr"
dgeMatrix-class

Class "dgeMatrix" of Dense Numeric (S4 Class) Matrices
dgCMatrix-class

Compressed, sparse, column-oriented numeric matrices
expm

Matrix exponential
dgTMatrix-class

Sparse matrices in triplet form
[-methods

Methods for "[": Extraction or Subsetting in Package 'Matrix'
expand

Expand a Decomposition into Factors
index-class

Virtual Class "index" - Simple Class for Matrix Indices
norm

Norm of a Matrix
BIC

Bayesian Information Criterion
dsparseMatrix-class

Virtual Class "dsparseMatrix" of Numeric Sparse Matrices
dtrMatrix-class

Triangular, dense, numeric matrices
externalFormats

Read and write external matrix formats
[<--methods

Methods for "[<-" - Assigning to Subsets for 'Matrix'
lsparseMatrix-classes

Sparse logical matrices
denseMatrix-class

Virtual Class "denseMatrix" of All Dense Matrices
ldenseMatrix-class

Virtual Class "ldenseMatrix" of Dense Logical Matrices
facmul

Multiplication by Decomposition Factors
dCholCMatrix-class

Cholesky Decompositions of dsCMatrix Objects
LU-class

LU Matrix Decompositions
generalMatrix-class

Class "generalMatrix" of General Matrices
ltrMatrix-class

Triangular Dense Logical Matrices
lgeMatrix-class

Class "lgeMatrix" of General Dense Logical Matrices
Diagonal

Create Diagonal Matrix Object
CsparseMatrix-class

Class "CsparseMatrix" of Sparse Matrices in Column-compressed Form
dsCMatrix-class

Numeric Symmetric Sparse (column compressed) Matrices
ldiMatrix-class

Class "ldiMatrix" of Diagonal Logical Matrices
band

Extract bands of a matrix
pMatrix-class

Permutation matrices
dMatrix-class

(Virtual) Class "dMatrix" of "double" Matrices
Schur

Schur Decomposition of a Matrix
diagonalMatrix-class

Class "diagonalMatrix" of Diagonal Matrices
lmer-class

Mixed Model Representations and *mer Methods
dsRMatrix-class

Symmetric Sparse Compressed Row Matrices
compMatrix-class

Class "compMatrix" of Composite (Factorizable) Matrices
lu

Triangular Decomposition of a Square Matrix
KNex

Koenker-Ng Example Sparse Model Matrix and Response Vector
dtpMatrix-class

Packed triangular dense matrices
Matrix

Construct a Classed Matrix
dsyMatrix-class

Symmetric Dense Numeric Matrices
ddenseMatrix-class

Virtual Class "ddenseMatrix" of Numeric Dense Matrices
fixef

Extract Fixed Effects
mcmcsamp

Generate an MCMC sample
ranef

Extract Random Effects
lmer

Fit (Generalized) Linear Mixed-Effects Models
pedigree

Pedigree Constructor
triangularMatrix-class

Virtual Class of Triangular Matrices in package:Matrix
dgRMatrix-class

Compressed, sparse, row-oriented numeric matrices
unpack

Full Storage Representation of Packed Matrices
dpoMatrix-class

Positive Semi-definite Dense Numeric Matrices
rcond

Estimate the Reciprocal Condition Number
sleepstudy

Reaction times in a sleep deprivation study
lsyMatrix-class

Symmetric Dense Logical Matrices
symmetricMatrix-class

Virtual Class of Symmetric Matrices in package:Matrix
pedigree-class

Class "pedigree"
Unused-classes

Virtual Classes Not Yet Used
sparseMatrix-class

Virtual Class "sparseMatrix" --- Mother of Sparse Matrices
tcrossprod

Cross-product of transpose