An Implementation of Matrix Mathematics

An implementation of matrix mathematics wherein operations are performed "by name."

CRANstatus lifecycle Travis-CI BuildStatus Coveragestatus

The R package matsbyname enables matrix mathematics wherein operations are performed “by name” and row and column types are allowed.


You can install matsbyname from CRAN with:


You can install a recent development version of matsbyname from github with:

# install devtools if not already installed
# install.packages("devtools")
# To build vignettes locally, use
devtools::install_github("MatthewHeun/matsbyname", build_vignettes = TRUE)


The functions in this package were used in
Heun et al. (2018).

More Information

Find more information, including vignettes and function documentation, at


Heun, Matthew Kuperus, Anne Owen, and Paul E. Brockway. 2018. “A Physical Supply-Use Table Framework for Energy Analysis on the Energy Conversion Chain.” Applied Energy 226 (September):1134–62.


Reference manual

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


0.4.10 by Matthew Heun, 6 days ago

Report a bug at

Browse source code at

Authors: Matthew Heun [aut, cre]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports dplyr, Hmisc, magrittr

Suggests testthat, knitr, rmarkdown, tidyr, covr

Imported by matsindf.

See at CRAN