| density | R Documentation | 
density() computes the density matrix that
accounts for the weighted proportions of the products connected to
each good that the countries are exporting.
density(balassa_index, proximity_product)
| balassa_index | (Type: matrix) the output from
 | 
| proximity_product | (Type: matrix) the output from
 | 
The current implementation follows \insertCiteatlas2014economiccomplexity to measure the oppotunities implied by a country's position.
A matrix.
For more information on this index see:
\insertRefatlas2014economiccomplexity
and the references therein.
d <- density(
  economiccomplexity_output$balassa_index,
  economiccomplexity_output$proximity$proximity_product
)
# partial view of the density matrix
n <- seq_len(5)
d[n, n]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.