README.md

leontief

R build status Lifecycle: stable Codecov test coverage

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

This package is not available from CRAN at the present time. It can be installed from GitHub by running:

source("https://install-github.me/pachamaltese/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)

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.



Try the leontief package in your browser

Any scripts or data that you put into this service are public.

leontief documentation built on Sept. 2, 2020, 9:08 a.m.