Input-Output Analysis

An implementation of the Input-Output model developed by Wassily Leontief that represents the interdependencies between different sectors of a national economy or different regional economies.


leontief

CRANstatus Lifecycle: stable Codecov test coverage R-CMD-check

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.

Reference manual

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

install.packages("leontief")

0.5 by Mauricio Vargas, 8 months ago


https://github.com/pachadotdev/leontief


Report a bug at https://github.com/pachadotdev/leontief/issues


Browse source code at https://github.com/cran/leontief


Authors: Mauricio Vargas [aut, cre] (ORCID: , Victor Falkenheim [ths] , Central Bank of Chile [dtc] , University of Bio-Bio [dtc]


Documentation:   PDF Manual  


Apache License (>= 2) license


Suggests knitr, rmarkdown, covr, roxygen2, testthat

Linking to cpp4r, armadillo4r


Suggested by fio.


See at CRAN