computeComplexity
takes country codes, product codes, and the RCA
matrix, and creates the panel that will be translated into the matrix M.
Each row represents a country and each column represents a product, in the
standard order. If a country has RCA > 1 for some product, the entry for
that country and product in M will be 1; otherwise it is 0. For more
details about the matrix M, see Atlas p.25, Technical Box 2.2.
1 | computeComplexity(rca_panel)
|
rca_panel |
Data frame output from |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.