matlib: Matrix Functions for Teaching and Learning Linear Algebra and Multivariate Statistics

A collection of matrix functions for teaching and learning matrix linear algebra as used in multivariate statistical methods. These functions are mainly for tutorial purposes in learning matrix algebra ideas using R. In some cases, functions are provided for concepts available elsewhere in R, but where the function call or name is not obvious. In other cases, functions are provided to show or demonstrate an algorithm. In addition, a collection of functions are provided for drawing vector diagrams in 2D and 3D.

Version: 0.8.1
Imports: rgl, car
Suggests: MASS, knitr, rglwidget, rmarkdown, xtable
Published: 2016-09-17
Author: Michael Friendly [aut, cre], John Fox [aut], Georges Monette [ctb], Gaston Sanchez [ctb], Phil Chalmers [ctb]
Maintainer: Michael Friendly <friendly at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: NEWS
CRAN checks: matlib results


Reference manual: matlib.pdf
Vignettes: Properties of determinants
Evaluation of determinants
Eigenvalues and Eigenvectors: Properties
Eigenvalues: Spectral Decomposition
Generalized inverse
Gram-Schmidt Orthogonalization and Regression
Inverse of a matrix
Matrix inversion by elementary row operations
Solving Linear Equations
Package source: matlib_0.8.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: matlib_0.8.1.tgz
OS X Mavericks binaries: r-oldrel: matlib_0.8.1.tgz
Old sources: matlib archive


Please use the canonical form to link to this page.