computeMTilde
takes the complexity (M) matrix, and the initial values
of diversity and ubiquity, and computes M-tilde_pp' as it would be called
in the Atlas. This is the precursor to computing the product and economic
complexity indices (PCIs/ECIs). For more details, see Atlas p.24, Technical
Box 2.1.
1 | computeMTilde(M, diversity_0, ubiquity_0, flag)
|
M |
Matrix output from |
diversity_0 |
Vector output from |
ubiquity_0 |
Vector output from |
flag |
Switch between product and country computations (can be "PCI" for product complexity or "ECI" for economic, or country, complexity). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.