# NOT RUN {
data (G.regions.industries)
lss <- litzenberger2(G.regions.industries$emp_all,
G.regions.industries$ind_code, G.regions.industries$region_code,
G.regions.industries$area_sqkm, G.regions.industries$pop,
G.regions.industries$firms, CI.output = "df")
# output as data frame
lss_sort <- lss[order(lss$CI, decreasing = TRUE),]
# Sort decreasing by size of CI
lss_sort[1:5,]
# }
Run the code above in your browser using DataLab