Learn R Programming

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

Matrix (version 0.99-6)

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.99-6

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.99-6)

dMatrix-class

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

Bayesian Information Criterion
symmetricMatrix-class

Virtual Class of Symmetric Matrices in package:Matrix
Hilbert

Generate a Hilbert matrix
CsparseMatrix-class

Class "CsparseMatrix" of Sparse Matrices in Column-compressed Form
lsparseMatrix-classes

Sparse logical matrices
dgRMatrix-class

Compressed, sparse, row-oriented numeric matrices
dsCMatrix-class

Numeric Symmetric Sparse (column compressed) Matrices
Schur

Schur Decomposition of a Matrix
[<--methods

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

Create Diagonal Matrix Object
dgCMatrix-class

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

Cholesky Decompositions of dsCMatrix Objects
expand

Expand a Decomposition into Factors
dsparseMatrix-class

Virtual Class "dsparseMatrix" of Numeric Sparse Matrices
VarCorr

Extract variance and correlation components
pMatrix-class

Permutation matrices
ddenseMatrix-class

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

LU Matrix Decompositions
dgBCMatrix-class

Class "dgBCMatrix" Real Sparse Blocked Column Compressed Matrix
corrmatrix-class

Class "corrmatrix"
dsRMatrix-class

Symmetric Sparse Compressed Row Matrices
bCrosstab

Create pairwise crosstabulation
dtpMatrix-class

Packed triangular dense matrices
sleepstudy

Reaction times in a sleep deprivation study
externalFormats

Read and write external matrix formats
ddiMatrix-class

Class "ddiMatrix" of Diagonal Numeric Matrices
lsyMatrix-class

Symmetric Dense Logical Matrices
dtRMatrix-class

Triangular Sparse Compressed Row Matrices
expm

Matrix exponential
norm

Norm of a Matrix
Matrix-class

Virtual Class "Matrix" Class of Matrices
[-methods

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

Construct a Classed Matrix
y

A sample response vector
dpoMatrix-class

Positive Semi-definite Dense Numeric Matrices
lu

Triangular Decomposition of a Square Matrix
dgTMatrix-class

Sparse matrices in triplet form
rcond

Estimate the Reciprocal Condition Number
ranef

Extract Random Effects
sparseMatrix-class

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

Multiplication by Decomposition Factors
triangularMatrix-class

Virtual Class of Triangular Matrices in package:Matrix
Unused-classes

Virtual Classes Not Yet Used
dsyMatrix-class

Symmetric Dense Numeric Matrices
mcmcsamp

Generate an MCMC sample
lmer-class

Mixed model representations
dgeMatrix-class

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

Extract Fixed Effects
ltrMatrix-class

Triangular Dense Logical Matrices
pdmatrix-class

Positive-definite matrices
index-class

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

Cholesky and Bunch-Kaufman Decompositions
ldenseMatrix-class

Virtual Class "ldenseMatrix" of Dense Logical Matrices
lgeMatrix-class

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

Triangular, (compressed) sparse column matrices
mm

A sample sparse model matrix
VarCorr-class

Class "VarCorr"
TsparseMatrix-class

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

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

Class "ldiMatrix" of Diagonal Logical Matrices
tcrossprod

Cross-product of transpose
lmer

Fit (Generalized) Linear Mixed-Effects Models
unpack

Full Storage Representation of Packed Matrices
diagonalMatrix-class

Class "diagonalMatrix" of Diagonal Matrices