Learn R Programming

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

Matrix (version 0.98-7)

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.98-7

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.98-7)

dgCMatrix-class

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

Symmetric, dense matrices
lmer-class

Mixed model representations
Matrix

Construct a Classed Matrix
symmetricMatrix-class

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

Virtual Class "denseMatrix" of All Dense Matrices
[<--methods

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

Virtual Class "Matrix" Class of Matrices
dsRMatrix-class

Symmetric Sparse Compressed Row Matrices
Cholesky-class

Cholesky and Bunch-Kaufman Decompositions
dtrMatrix-class

Triangular, dense, numeric matrices
dgTMatrix-class

Sparse matrices in triplet form
dpoMatrix-class

Positive semi-definite, dense, numeric matrices
[-methods

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

Read and write external matrix formats
simulate

Simulate responses from a fitted model
pMatrix-class

Permutation matrices
bCrosstab

Create pairwise crosstabulation
Hilbert

Generate a Hilbert matrix
dsparseMatrix-class

Virtual Class "dsparseMatrix" of Numeric Sparse Matrices
norm

Norm of a Matrix
lmer

Fit (Generalized) Linear Mixed-Effects Models
tcrossprod

Cross-product of transpose
fixef

Extract Fixed Effects
expm

Matrix exponential
LU-class

LU Matrix Decompositions
pdmatrix-class

Positive-definite matrices
ranef

Extract Random Effects
expand

Expand a Decomposition into Factors
dgeMatrix-class

General S4 Matrix class
Unused-classes

Virtual Classes Not Yet Used
unpack

Full Storage Representation of Packed Matrices
VarCorr

Extract variance and correlation components
sleepstudy

Reaction times in a sleep deprivation study
triangularMatrix-class

Virtual Class of Triangular Matrices in package:Matrix
facmul

Multiplication by Decomposition Factors
lsparseMatrix-classes

Sparse logical matrices
dCholCMatrix-class

Cholesky Decompositions of dsCMatrix Objects
Schur

Schur Decomposition of a Matrix
gTMatrix-class

Class "gTMatrix" of General Sparse Matrices in Triplet Form
corrmatrix-class

Class "corrmatrix"
sparseMatrix-class

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

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

Triangular, (compressed) sparse column matrices
index-class

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

A sample response vector
ddenseMatrix-class

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

Class "VarCorr"
dMatrix-class

(Virtual) Class "dMatrix" of "double" Matrices
dgRMatrix-class

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

Symmetric, compressed, sparse column matrices
rcond

Estimate the Reciprocal Condition Number
lu

Triangular Decomposition of a Square Matrix
dtpMatrix-class

Packed triangular dense matrices
mm

A sample sparse model matrix
BIC

Bayesian Information Criterion
mcmcsamp

Generate an MCMC sample