Learn R Programming

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

Matrix (version 0.995-5)

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-5

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-5)

[<--methods

Methods for "[<-" - Assigning to Subsets for 'Matrix'
dgRMatrix-class

Compressed, sparse, row-oriented numeric matrices
lu

Triangular Decomposition of a Square Matrix
ddiMatrix-class

Class "ddiMatrix" of Diagonal Numeric Matrices
lmer-class

Mixed model representations
dsparseMatrix-class

Virtual Class "dsparseMatrix" of Numeric Sparse Matrices
sleepstudy

Reaction times in a sleep deprivation study
expand

Expand a Decomposition into Factors
compMatrix-class

Class "compMatrix" of Composite (Factorizable) Matrices
dtpMatrix-class

Packed triangular dense matrices
y

A sample response vector
dsRMatrix-class

Symmetric Sparse Compressed Row Matrices
[-methods

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

Bayesian Information Criterion
Cholesky-class

Cholesky and Bunch-Kaufman Decompositions
dtrMatrix-class

Triangular, dense, numeric matrices
RsparseMatrix-class

Class "RsparseMatrix" of Sparse Matrices in Column-compressed Form
dpoMatrix-class

Positive Semi-definite Dense Numeric Matrices
facmul

Multiplication by Decomposition Factors
dgeMatrix-class

Class "dgeMatrix" of Dense Numeric (S4 Class) Matrices
lmer

Fit (Generalized) Linear Mixed-Effects Models
TsparseMatrix-class

Class "TsparseMatrix" of Sparse Matrices in Triplet Form
ranef

Extract Random Effects
dtCMatrix-class

Triangular, (compressed) sparse column matrices
dgCMatrix-class

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

Sparse matrices in triplet form
pMatrix-class

Permutation matrices
dMatrix-class

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

Schur Decomposition of a Matrix
fixef

Extract Fixed Effects
VarCorr

Extract variance and correlation components
diagonalMatrix-class

Class "diagonalMatrix" of Diagonal Matrices
lsyMatrix-class

Symmetric Dense Logical Matrices
mm

A sample sparse model matrix
mcmcsamp

Generate an MCMC sample
triangularMatrix-class

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

Triangular Dense Logical Matrices
rcond

Estimate the Reciprocal Condition Number
corrmatrix-class

Class "corrmatrix"
unpack

Full Storage Representation of Packed Matrices
sparseMatrix-class

Virtual Class "sparseMatrix" --- Mother of Sparse Matrices
ldenseMatrix-class

Virtual Class "ldenseMatrix" of Dense Logical Matrices
norm

Norm of a Matrix
LU-class

LU Matrix Decompositions
index-class

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

Matrix exponential
generalMatrix-class

Class "generalMatrix" of General Matrices
symmetricMatrix-class

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

Virtual Class "Matrix" Class of Matrices
VarCorr-class

Class "VarCorr"
Diagonal

Create Diagonal Matrix Object
Hilbert

Generate a Hilbert matrix
Matrix

Construct a Classed Matrix
CHMfactor-class

CHOLMOD-based Cholesky factorizations
denseMatrix-class

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

Numeric Symmetric Sparse (column compressed) Matrices
dsyMatrix-class

Symmetric Dense Numeric Matrices
dCholCMatrix-class

Cholesky Decompositions of dsCMatrix Objects
lgeMatrix-class

Class "lgeMatrix" of General Dense Logical Matrices
ldiMatrix-class

Class "ldiMatrix" of Diagonal Logical Matrices
tcrossprod

Cross-product of transpose
Unused-classes

Virtual Classes Not Yet Used
lsparseMatrix-classes

Sparse logical matrices
ddenseMatrix-class

Virtual Class "ddenseMatrix" of Numeric Dense Matrices
CsparseMatrix-class

Class "CsparseMatrix" of Sparse Matrices in Column-compressed Form
externalFormats

Read and write external matrix formats