Learn R Programming

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

Matrix (version 0.97-4)

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

155,110

Version

0.97-4

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.97-4)

LU-class

LU Matrix Decompositions
[-methods

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

Class "corrmatrix"
bCrosstab

Create pairwise crosstabulation
dpoMatrix-class

Positive semi-definite, dense, numeric matrices
dsyMatrix-class

Symmetric, dense matrices
dtpMatrix-class

Packed triangular dense matrices
dgTMatrix-class

Sparse matrices in triplet form
Matrix

Construct a Classed Matrix
dgBCMatrix-class

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

Triangular, compressed, sparse column matrices
dsCMatrix-class

Symmetric, compressed, sparse column matrices
norm

Norm of a Matrix
VarCorr-class

Class "VarCorr"
ddenseMatrix-class

Virtual Class "ddenseMatrix" of Numeric Dense Matrices
BIC

Bayesian Information Criterion
lmer

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

Cholesky Decompositions of dsCMatrix Objects
Schur

Schur Decomposition of a Matrix
ranef

Extract Random Effects
expm

Matrix exponential
dgCMatrix-class

Compressed, sparse, column-oriented numeric matrices
unpack

Full Storage Representation of Packed Matrices
pdmatrix-class

Positive-definite matrices
lsparseMatrix-classes

Sparse logical matrices
dsparseMatrix-class

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

Triangular, dense, numeric matrices
lu

Triangular Decomposition of a Square Matrix
dgeMatrix-class

General S4 Matrix class
rcond

Estimate the Reciprocal Condition Number
tcrossprod

Cross-product of transpose
lmer-class

Mixed model representations
y

A sample response vector
expand

Expand a Decomposition into Factors
Hilbert

Generate a Hilbert matrix
Cholesky-class

Cholesky and Bunch-Kaufman Decompositions
dMatrix-class

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

Multiplication by Decomposition Factors
pMatrix-class

Permutation matrices
sparseMatrix-class

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

Extract variance and correlation components
Matrix-class

Virtual Class "Matrix" Class of Matrices
mm

A sample sparse model matrix
dgRMatrix-class

Compressed, sparse, row-oriented numeric matrices
fixef

Extract Fixed Effects