Learn R Programming

gvc (version 6.4.0)

upstream: Upstreamness

Description

Upstreamness

Usage

upstream(x)

Arguments

x

an object of class "decompr" as created using the load_tables_vectors() function from the decompr package.

Examples

Run this code
# NOT RUN {
# load the decompr package
library(decompr)

# load example data
data(leather)
attach(leather)

# create a leontief decomposed data set
l <- load_tables_vectors(x = inter,
                         y = final,
                         k = countries,
                         i = industries,
                         o = out        )
 
 # apply upstream
 upstream( l )
# }

Run the code above in your browser using DataLab