Learn R Programming

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

Matrix (version 0.995-15)

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

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 doc/UFsparse for details.

Maintainer

Douglas Bates

Last Published

March 11th, 2025

Functions in Matrix (0.995-15)

compMatrix-class

Class "compMatrix" of Composite (Factorizable) Matrices
externalFormats

Read and write external matrix formats
SparseM-conversions

Sparse Matrix Coercion from and to those from package "SparseM"
dCholCMatrix-class

Cholesky Decompositions of dsCMatrix Objects
rcond

Estimate the Reciprocal Condition Number
hatTrace

Extract the trace of the `hat' matrix
lmer-class

Mixed Model Representations and *mer Methods
lsyMatrix-class

Symmetric Dense Logical Matrices
dgRMatrix-class

Compressed, sparse, row-oriented numeric matrices
norm

Norm of a Matrix
dMatrix-class

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

Reaction times in a sleep deprivation study
ddiMatrix-class

Class "ddiMatrix" of Diagonal Numeric Matrices
Diagonal

Create Diagonal Matrix Object
dsCMatrix-class

Numeric Symmetric Sparse (column compressed) Matrices
dsyMatrix-class

Symmetric Dense Numeric Matrices
pedigree-class

Class "pedigree"
pedigree

Pedigree Constructor
[<--methods

Methods for "[<-" - Assigning to Subsets for 'Matrix'
expand

Expand a Decomposition into Factors
isSymmetric-methods

Methods for Function isSymmetric in Package 'Matrix'
ldenseMatrix-class

Virtual Class "ldenseMatrix" of Dense Logical Matrices
lu

Triangular Decomposition of a Square Matrix
dtCMatrix-class

Triangular, (compressed) sparse column matrices
ltrMatrix-class

Triangular Dense Logical Matrices
dsRMatrix-class

Symmetric Sparse Compressed Row Matrices
lgeMatrix-class

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

Permutation matrices
replValue-class

Virtual Class "replValue" - Simple Class for subassignment Values
CAex

Albers' example Matrix with "Difficult" Eigen Factorization
KNex

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

Compressed, sparse, column-oriented numeric matrices
Matrix

Construct a Classed Matrix
unpack

Full Storage Representation of Packed Matrices
[-methods

Methods for "[": Extraction or Subsetting in Package 'Matrix'
dgTMatrix-class

Sparse matrices in triplet form
Cholesky-class

Cholesky and Bunch-Kaufman Decompositions
dtRMatrix-class

Triangular Sparse Compressed Row Matrices
LU-class

LU Matrix Decompositions
ddenseMatrix-class

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

Class "TsparseMatrix" of Sparse Matrices in Triplet Form
VarCorr-class

Class "VarCorr"
VarCorr

Extract variance and correlation components
expm

Matrix exponential
ldiMatrix-class

Class "ldiMatrix" of Diagonal Logical Matrices
Schur

Schur Decomposition of a Matrix
Hilbert

Generate a Hilbert matrix
facmul

Multiplication by Decomposition Factors
fixef

Extract Fixed Effects
lsparseMatrix-classes

Sparse logical matrices
symmetricMatrix-class

Virtual Class of Symmetric Matrices in package:Matrix
mcmcsamp

Generate an MCMC sample
ranef

Extract Random Effects
CsparseMatrix-class

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

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

Virtual Class "dsparseMatrix" of Numeric Sparse Matrices
lmer

Fit (Generalized) Linear Mixed-Effects Models
BIC

Bayesian Information Criterion
band

Extract bands of a matrix
diagonalMatrix-class

Class "diagonalMatrix" of Diagonal Matrices
index-class

Virtual Class "index" - Simple Class for Matrix Indices
triangularMatrix-class

Virtual Class of Triangular Matrices in package:Matrix
tcrossprod

Cross-product of transpose
generalMatrix-class

Class "generalMatrix" of General Matrices
Unused-classes

Virtual Classes Not Yet Used
CHMfactor-class

CHOLMOD-based Cholesky factorizations
sparseMatrix-class

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

Virtual Class "Matrix" Class of Matrices
dgeMatrix-class

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

Packed triangular dense matrices
denseMatrix-class

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

Positive Semi-definite Dense Numeric Matrices