| e2r | R Documentation | 
Exporting to Re-export
e2r(x, by = NULL, subset = NULL)
| 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 | 
# 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 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.