Skip to content

matlib

1.0.1

Matrix Functions for Teaching and Learning Linear Algebra and Multivariate Statistics

13packages depend
49.2Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.0.1

This is a moderate update, improving usability and documentation

  • Rename vignettes to put them in order
  • Add papers/matlib-useR-2016.pdf to avoid bad URL
  • Consolidate options for print.latexMatrix
  • Fix bug in print.latexMatrix(sparse=TRUE)
  • plotEqn() gains a ... to pass other graphical parameters
  • added coffee data (modified from spida2)
  • Improve documentation of latexMatrix() and it's print() method to more clearly indicate how to set global options.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.1
README· In the repository, left out of the releaseVignettesYes · 12 · dynamicNEWSYes · 100% structured · mentions 1.0.1Citation fileNoWebsiteYes · pkgdown
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%

Downloads

49.2K
CRAN downloads in the past year
Rank #2,288 · ~135/day · ~4.1K/mo
Daily download trend is not available in this view yet.
3.4K30 days
7.2K90 days
49.2K1 year
Compare downloads with other packages →
Also on401 r2u3 autocran1.8K conda_forge96 c2d4u

Repository

72Stars
17Forks
7Open issues
0Open PRs
11Releases
849Commits
8Commit identities
linear-equationsmatrix-functionsmatrixvectorvignettematrix-visualizerdiagrams
849 commits · Last activity 2026-10-08 · 0% stars, 30d · Default branch at 1.0.2, ahead of CRAN 1.0.1 (checked 2026-10-11)
Responsiveness
How these are sampled
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

2025-10-02 · 682026-07-07 · 72
PracticesBeta

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.

Continuous integration (1)
Travis CI (config file)
Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-10-08

pkgdown site last built 2024-11-24, before release 1.0.1 (2025-10-09)

CRAN release process (2)
cran-comments.mdrevdep/
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 4.2.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
13direct
0indirect
Imports 13
Show all 13 dependentsHide all 13 dependents
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (5)
Author, Maintainer since 0.4.1 (2015)
Author · added in 0.7.3
Author
Contributor
Contributor · added in 0.6.0
Releases (17)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.1Latest
    record
    2025-10-09 · current release · diff ↗ ·
    added 12 exports
    Eqn_overbrace, Eqn_overset, Eqn_underbrace, Eqn_underset, hspace, newline, overbrace, overset, size, underbrace, underset, vspace
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.0
    record
    2024-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
    record
    2024-07-25 · diff ↗ ·
    added 2 exports
    circle, getYmult
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.9.6
    record
    2022-12-08 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.9.5
    record
    2021-08-21 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.9.4
    record
    2020-10-29 · diff ↗ ·
    added 1 export
    xprod
  • R
    R 4.0.0 released · 2020-04-24
  • 0.9.3
    record
    2020-04-02 · diff ↗
  • 0.9.2
    record
    2019-05-29 · diff ↗ ·
    added 3 exports
    MoorePenrose, circle3d, printMatrix
  • R
    R 3.6.0 released · 2019-04-26
Show 13 earlier eventsHide 13 earlier events
  • R
    R 3.5.0 released · 2018-04-23
  • 0.9.1
    record
    2018-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
  • R
    R 3.4.0 released · 2017-04-21
  • 0.8.1
    record
    2016-09-17 · diff ↗ ·
    added 1 export
    LU
  • 0.7.3
    record
    2016-06-06 · diff ↗ ·
    added 1 export
    showEig
  • R
    R 3.3.0 released · 2016-05-03
  • 0.7.2
    record
    2016-02-08 · diff ↗
  • 0.7.0
    record
    2016-01-06 · diff ↗ ·
    added 1 export
    regvec3d
  • 0.6.0
    record
    2015-12-15 · diff ↗ ·
    added 4 exports
    arrows3d, cone3d, power_method, vectors3d
  • 0.5.2
    record
    2015-11-19 · diff ↗
  • 0.5.1
    record
    2015-11-10 · diff ↗
  • 0.4.1
    record
    2015-11-05
  • R
    R 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
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("matlib")
Friendly, M., Chalmers, P., Fox, J., Monette, G., & Sanchez, G. (2025). matlib: Matrix Functions for Teaching and Learning Linear Algebra and Multivariate Statistics (Version 1.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for matlib version 1.0.1 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy