divubq: Diversity and Ubiquity
Description
Compute the diversity/diversification and ubiquity
hidalgo2009dynamicspecan based on the RCA values.
Usage
divubq(RCAmat, measure = c("diversity", "ubiquity"))Value
A numeric vector with the measured values.
Arguments
- RCAmat
An economy-by-product matrix with the RCA values.
- measure
A character string specifying the measure to compute:
"diversity": the number of products that an economy produces.
"ubiquity": the number of economies that export that product.