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")
devtools::install_github("MatthewHeun/matsbyname")
# 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).
Find more information, including vignettes and function documentation, at https://MatthewHeun.github.io/matsbyname/.
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. https://doi.org/10.1016/j.apenergy.2018.05.109.