R package mrfactors, version 0.12.0
Purpose and Functionality
This package provides functions for MAgPIE input data on factor inputs to agricultural production (with a focus on capital and labor).
Installation
For installation of the most recent package version an additional repository has to be added in R:
The additional repository can be made available permanently by adding the line above to a file called .Rprofile stored in the home folder of your system (Sys.glob("~") in R returns the home directory).
After that the most recent version of the package can be installed using install.packages:
install.packages("mrfactors")Package updates can be installed using update.packages (make sure that the additional repository has been added before running that command):
Questions / Problems
In case of questions / problems please contact Debbora Leip leip@pik-potsdam.de.
Citation
To cite package mrfactors in publications use:
Leip D, Molina Bacca E (2026). “mrfactors: MADRaT based package on factor inputs.” Version: 0.12.0, https://github.com/pik-piam/mrfactors.
A BibTeX entry for LaTeX users is