matlib
1.0.1Matrix Functions for Teaching and Learning Linear Algebra and Multivariate Statistics
Overview
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.
This is a moderate update, improving usability and documentation
- Rename vignettes to put them in order
- Add
papers/matlib-useR-2016.pdfto avoid bad URL - Consolidate options for
print.latexMatrix - Fix bug in
print.latexMatrix(sparse=TRUE) plotEqn()gains a...to pass other graphical parameters- added
coffeedata (modified fromspida2) - Improve documentation of
latexMatrix()and it'sprint()method to more clearly indicate how to set global options.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 66 (1 internal)includes a package overview page
- Examples that run
- 94%58 run in a plain check · 1 never run · 3 hold no code
- Exported functions with examples
- 95%
- Documented parameters
- 93%
- Return-value docs
- 92%
- Help pages citing references
- 23%
- 1. Properties of determinants HTML
- 10. Gram-Schmidt Orthogonalization and Regression HTML
- 11. Vector Spaces of Least Squares and Linear Equations HTML
- 2. Evaluation of determinants HTML
- 3. Inverse of a matrix
- 4. Matrix inversion by elementary row operations HTML
- 5. Generalized inverse HTML
- 6. Linear transformations and matrix inverse in 3D HTML
- 7. Eigenvalues and Eigenvectors: Properties HTML
- 8. Eigenvalues: Spectral Decomposition HTML
Show 2 moreHide 2 vignettes
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 8
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
6 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/friendly/matlib on 2026-10-11.
GitHub Pages site last deployed 2026-10-08
pkgdown site last built 2024-11-24, before release 1.0.1 (2025-10-09)
Dependencies
Installing matlib adds 85 packages (45 with compiled code, 76 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.
Show all 13 dependentsHide all 13 dependents
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.0.1Latest2025-10-09 · current release · diff ↗ ·
added 12 exports
Eqn_overbrace, Eqn_overset, Eqn_underbrace, Eqn_underset, hspace, newline, overbrace, overset, size, underbrace, underset, vspace - RR 4.5.0 released · 2025-04-11
- 1.0.02024-10-02 · diff ↗ ·
added 25 exports
%X%, Colnames<-, Dimnames<-, Rownames<-, Dim, Dot, Eqn, Eqn_hspace, Eqn_newline, Eqn_size, Eqn_text, Eqn_vspace, Ncol, Nrow, getBody, getLatex, getWrapper, inverse, latexMatrix, matdiff, matmult, matpower, matsum, partition, ref - 0.9.8
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.9.62022-12-08 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.9.52021-08-21 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.9.4
- RR 4.0.0 released · 2020-04-24
- 0.9.32020-04-02 · diff ↗
- 0.9.2
- RR 3.6.0 released · 2019-04-26
Show 13 earlier eventsHide 13 earlier events
- RR 3.5.0 released · 2018-04-23
- 0.9.12018-04-04 · diff ↗ ·
removed 2 exports
power_method, pattern:^[[:alpha:]]+added 47 exports
Det, Eigen, Ginv, GramSchmidt, Inverse, J, Proj, QR, R, SVD, Solve, adjoint, angle, arc, buildTmat, cholesky, cofactor, corner, echelon, gaussianElimination, gsorth, inv, is_orthogonal_matrix, is_square_matrix, is_symmetric_matrix, len, matrix2latex, minor, mpower, plotEqn and 17 more - RR 3.4.0 released · 2017-04-21
- 0.8.1
- 0.7.3
- RR 3.3.0 released · 2016-05-03
- 0.7.22016-02-08 · diff ↗
- 0.7.0
- 0.6.0
- 0.5.22015-11-19 · diff ↗
- 0.5.12015-11-10 · diff ↗
- 0.4.12015-11-05
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-11-05
- Total releases
- 17 / 11 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.2.0
- Bundled data
- 1.3 KB / 4 files
- Download size
- 798 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("matlib")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.