e2r: Exporting to Re-export

View source: R/e2r.R

e2rR Documentation

Exporting to Re-export

Description

Exporting to Re-export

Usage

e2r(x, by = NULL, subset = NULL)

Arguments

x

A Leontief decomposed Inter-Country Input Output table as created by decompr

by

variable to subset by

subset

value(s) of the subset variable to select

Examples

# load the decompr package
library(decompr)

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

# create a leontief decomposed data set
l <- decomp(x = inter,
            y = final,
            k = countries,
            i = industries,
            o = out)
 
 # apply the Exporting to Re-export
 e2r( l )

gvc documentation built on June 20, 2022, 1:05 a.m.