Learn R Programming

leontief

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.

Installation

Stable version (CRAN):

install.packages("leontief")

Development version (GitHub):

remotes::install_github("pachadotdev/leontief")

Example

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)
X <- matrix(rnorm(100), nrow = 10)
d <- rnorm(10)

input_requirement_matrix(X,d)

Please read the vignette for the details.

Code of Conduct

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.

Copy Link

Version

Install

install.packages('leontief')

Monthly Downloads

650

Version

0.4

License

Apache License (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Mauricio Vargas Sepulveda

Last Published

August 31st, 2025

Functions in leontief (0.4)

multiplier_product_matrix

Multiplier product matrix
sensitivity_dispersion_cv

Sensititivy of dispersion coefficient of variation
sensitivity_dispersion

Sensitivity of dispersion coefficient of variation
employment_matrix

Employment matrix (2013 data) This matrix contains the employed people by industry and the employment coefficient that is the number of people divided by the total final demand from the wage and demand matrix.
augmented_input_requirement

Augmented input requirement
backward_linkage

Backward linkage
income_multiplier

Income multiplier
input_requirement

Input requirement
employment_multiplier

Employment multiplier
leontief-package

leontief: Input-Output Analysis
leontief_inverse

Leontief inverse
power_dispersion_cv

Power of dispersion coefficient of variation
output_multiplier

Output multiplier
transaction_matrix

Transaction matrix (2013 data) This matrix contains the production of the chilean economy divided into 12 industries. The measuring unit is CLP million of the year 2013
employment_number

Employment number
forward_linkage

Forward linkage
power_dispersion

Power of dispersion
output_allocation

Output allocation
equilibrium_output

Equilibrium output
wage_demand_matrix

Wage and demand matrix (2013 data) This matrix contains the wage, intermediate demand and disaggregated final demand of the chilean economy divided into 12 industries. The final demand is given by components (household consumption, government consumption, etc.) and aggregated. The measuring unit is CLP million of the year 2013.