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 |
Pierre-Alexandre Balland p.balland@uu.nl
average.location.quotient
## generate a region - industry matrix set.seed(31) mat <- matrix(sample(0:100,20,replace=T), 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.