Learn R Programming

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

Matrix (version 0.99-2)

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

90,263

Version

0.99-2

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

Cholesky-class

Cholesky and Bunch-Kaufman Decompositions
dgTMatrix-class

Sparse matrices in triplet form
externalFormats

Read and write external matrix formats
BIC

Bayesian Information Criterion
Schur

Schur Decomposition of a Matrix
dtpMatrix-class

Packed triangular dense matrices
dpoMatrix-class

Positive Semi-definite Dense Numeric Matrices
bCrosstab

Create pairwise crosstabulation
VarCorr

Extract variance and correlation components
lsyMatrix-class

Symmetric Dense Logical Matrices
Matrix

Construct a Classed Matrix
[-methods

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

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

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

Numeric Symmetric Sparse (column compressed) Matrices
ltrMatrix-class

Triangular Dense Logical Matrices
TsparseMatrix-class

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

Mixed model representations
mm

A sample sparse model matrix
Hilbert

Generate a Hilbert matrix
ldenseMatrix-class

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

Class "VarCorr"
dMatrix-class

(Virtual) Class "dMatrix" of "double" Matrices
lsparseMatrix-classes

Sparse logical matrices
lu

Triangular Decomposition of a Square Matrix
y

A sample response vector
Matrix-class

Virtual Class "Matrix" Class of Matrices
dgBCMatrix-class

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

LU Matrix Decompositions
facmul

Multiplication by Decomposition Factors
expand

Expand a Decomposition into Factors
dtrMatrix-class

Triangular, dense, numeric matrices
lmer

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

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

Symmetric Dense Numeric Matrices
pdmatrix-class

Positive-definite matrices
ddenseMatrix-class

Virtual Class "ddenseMatrix" of Numeric Dense Matrices
mcmcsamp

Generate an MCMC sample
dsRMatrix-class

Symmetric Sparse Compressed Row Matrices
[<--methods

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

Reaction times in a sleep deprivation study
norm

Norm of a Matrix
fixef

Extract Fixed Effects
rcond

Estimate the Reciprocal Condition Number
tcrossprod

Cross-product of transpose
unpack

Full Storage Representation of Packed Matrices
triangularMatrix-class

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

Virtual Classes Not Yet Used
dCholCMatrix-class

Cholesky Decompositions of dsCMatrix Objects
dtCMatrix-class

Triangular, (compressed) sparse column matrices
dgeMatrix-class

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

Matrix exponential
ranef

Extract Random Effects
denseMatrix-class

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

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

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

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

Class "corrmatrix"
lgeMatrix-class

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

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

Permutation matrices
simulate

Simulate responses from a fitted model