gvc (version 0.5.0)

upstream: Upstreamness

Description

Upstreamness

Usage

upstream(x)

Arguments

x
A Leontief decomposed Inter-Country Input Output table as created by decompr, which should be post multiplied with final demand (using the parameter: post="final_demand")

Examples

Run this code
# load the decompr package
library(decompr)

# load example data
data(leather)

# create a leontief decomposed data set
l <- load_tables_vectors(inter,
            final,
            countries,
            industries,
            out)

 # apply upstream
 upstream( l )

Run the code above in your browser using DataCamp Workspace