Density and Distance
densdist.Rd
Compute the density and distance (Hausmann and Klinger 2006) based on the RCA and proximity values.
Usage
densdist(RCAmat, PROXmat, measure = c("density", "distance"))
Arguments
- RCAmat
An economy-by-product matrix with the RCA values.
- PROXmat
A product-by-product matrix with the proximity values.
- measure
A character string specifying the measure to compute:
"density": the new product’s proximity to the economy's current export basket.
"distance": the economy's ability to enter a specific product.
References
Hausmann R, Klinger B (2006). “Structural Transformation and Patterns of Comparative Advantage in the Product Space.” Technical Report CID Working Paper No. 128, Harvard University. http://nrs.harvard.edu/urn-3:HUL.InstRepos:42482330.