[](https://www.tidyverse.org/lifecycle/#stable (https://lifecycle.r-lib.org/articles/stages.html#stable)
The goal of leontief is to provide an implementation of the Input-Output model developed by Wassily Leontief. It represents the interdependencies between different sectors of a national economy or different regional economies.
Stable version (CRAN):
install.packages("leontief")
Development version (GitHub):
::install_github("pachadotdev/leontief") remotes
This is a basic example which shows you how to obtain the input requirement matrix:
library(leontief)
# use a real input-output matrix and final demand vector
set.seed(200100)
<- matrix(rnorm(100), nrow = 10)
X <- rnorm(10)
d
input_requirement_matrix(X,d)
Please read the vignette for the details.
Please note that the leontief project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.