Skip to content

matlib

1.0.1

Matrix Functions for Teaching and Learning Linear Algebra and Multivariate Statistics

13packages depend
61.6Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Michael FriendlyFirst published 2015-11-0517 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 3.6 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
99%
Documentation · exports
9
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
98%
Documented parameters
93%
Return-value docs
92%
References docs
23%

Downloads

61.6K
CRAN downloads in the past year
Rank #1,621 · ~169/day · ~5.1K/mo
Daily download trend is not available in this view yet.
2.7K30 days
17.3K90 days
61.6K1 year
Compare downloads with other packages →
Also on236 r2u15 autocran2.1K conda_forge41 c2d4u

Repository

Repository
72Stars
17Forks
7Open issues
0Open PRs
11Releases
848Commits
8Contributors
linear-equationsmatrix-functionsmatrixvectorvignettematrix-visualizerdiagrams
848 commits · Last activity 2025-10-05 · 0% stars, 30d

Stars over time

2025-06-29 · 672026-07-07 · 72

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/friendly/matlib on 2026-07-19.

Continuous integration (1)
Travis CI
CRAN release process (2)
cran-comments.mdrevdep/
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.2.0
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

Code Composition
R 6,525 (47%)Rd 4,635 (34%)Vignettes 2,574 (19%)Other 22 (0%)JavaScript 1 (0%)
Code characteristics
Object systems
S338S4 method1
Cyclomatic complexity
2.0 median / 97 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

144 88 exported

Complexity

5.8 avg / 97 max

Call network

144 nodes / 172 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Datasets

Bundled datasets · 4
NameClassRows × ColsAlso ships in
classdata.frame15 × 4
coffeedata.frame20 × 4
therapydata.frame10 × 4
workersdata.frame10 × 4

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author · added in 0.7.3
Author
Contributors (2)
Contributor
Contributor · added in 0.6.0
Package Timeline

17 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.1Latest
    2025-10-09 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.0
    2024-10-02 · diff ↗
  • 0.9.8
    2024-07-25 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.9.6
    2022-12-08 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.9.5
    2021-08-21 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.9.4
    2020-10-29 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.9.3
    2020-04-02 · diff ↗
  • 0.9.2
    2019-05-29 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
Show 13 earlier events
  • R
    R 3.5.0 released · 2018-04-23
  • 0.9.1
    2018-04-04 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.8.1
    2016-09-17 · diff ↗
  • 0.7.3
    2016-06-06 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.7.2
    2016-02-08 · diff ↗
  • 0.7.0
    2016-01-06 · diff ↗
  • 0.6.0
    2015-12-15 · diff ↗
  • 0.5.2
    2015-11-19 · diff ↗
  • 0.5.1
    2015-11-10 · diff ↗
  • 0.4.1
    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
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →