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: dgCMatrix) the output from
|
proximity_product |
(Type: dgCMatrix) 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
d[1:5, 1:5]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.