hachman | R Documentation |
This function computes the Hachman index from regions - industries matrices. The Hachman index indicates how closely the industrial distribution of a region resembles the one of a more global economy (nation, world). The index varies between 0 (extreme dissimilarity between the region and the more global economy) and 1 (extreme similarity between the region and the more global economy)
hachman(mat)
mat |
An incidence matrix with regions in rows and industries in columns |
A vector of Hachman index values indicating the similarity between the industrial distribution of a region and a more global economy
Pierre-Alexandre Balland p.balland@uu.nl
location_quotient_avg
## generate a region - industry matrix
set.seed(31)
mat <- matrix(sample(0:100, 20, replace = TRUE), ncol = 4)
rownames(mat) <- c("R1", "R2", "R3", "R4", "R5")
colnames(mat) <- c("I1", "I2", "I3", "I4")
## run the function
hachman(mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.