x: A decomposed Inter-Country Input Output table as created by decompr
Examples
# load the decompr packagelibrary(decompr)# load the example data setdata(leather)attach(leather)# perform Leontief decompositionl <- decomp(x = inter, y = final, k = countries, i = industries, o = out, method ="leontief", post ="exports")# load gvc packagelibrary(gvc)# perform New Revealed Comparative Advantagenrca(l)