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. Many of these functions are designed 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 and for rendering matrix expressions and equations in LaTeX.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("matlib")

1.0.1 by Michael Friendly, a year ago


https://github.com/friendly/matlib, http://friendly.github.io/matlib/


Report a bug at https://github.com/friendly/matlib/issues


Browse source code at https://github.com/cran/matlib


Authors: Michael Friendly [aut, cre] (ORCID: , John Fox [aut] , Phil Chalmers [aut] , Georges Monette [ctb] , Gaston Sanchez [ctb]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports xtable, MASS, rgl, car, methods, dplyr, knitr, rmarkdown, rstudioapi

Suggests carData, webshot2, markdown, bookdown, clipr


Imported by BTIME, ETRep, GoodFibes, IOLS, MVNGmod, MVSKmod, RMCDA, SurprisalAnalysis, VIRF, biplotbootGUI, hyperoverlap, panelSUR, smallstuff.


See at CRAN