Title: | Urban Centrality Index |
---|---|
Description: | Calculates the Urban Centrality Index (UCI) as in Pereira et al., (2013) <doi:10.1111/gean.12002>. The UCI measures the extent to which the spatial organization of a city or region varies from extreme polycentric to extreme monocentric in a continuous scale from 0 to 1. Values closer to 0 indicate more polycentric patterns and values closer to 1 indicate a more monocentric urban form. |
Authors: | Rafael H. M. Pereira [aut, cre] |
Maintainer: | Rafael H. M. Pereira <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.3.0 |
Built: | 2024-11-01 06:11:32 UTC |
Source: | https://github.com/ipeagit/uci |
Calculates the Urban Centrality Index (UCI) as in Pereira et al., (2013) doi:10.1111/gean.12002. The UCI measures the extent to which the spatial organization of a city or region varies from extreme monocentric to extreme polycentric in a continuous scale from 0 to 1. Values close to 0 indicate more polycentric patterns and values close to 1 indicate a more monocentric urban form.
Calculate Urban Centrality Index
uci( sf_object, var_name, dist_type = "euclidean", bootstrap_border = FALSE, showProgress = TRUE, parallel = FALSE )
uci( sf_object, var_name, dist_type = "euclidean", bootstrap_border = FALSE, showProgress = TRUE, parallel = FALSE )
sf_object |
A |
var_name |
A |
dist_type |
A |
bootstrap_border |
A |
showProgress |
A |
parallel |
Decides whether the function should run in parallel. Defaults
is |
Please check the vignettes and data documentation on the website.
Maintainer: Rafael H. M. Pereira [email protected] (ORCID)
Useful links:
Report bugs at https://github.com/ipeaGIT/uci/issues
# load data data_dir <- system.file("extdata", package = "uci") grid <- readRDS(file.path(data_dir, "grid_bho.rds")) # calculate UCI df <- uci( sf_object = grid, var_name = 'jobs', dist_type = "euclidean", bootstrap_border = FALSE ) head(df) # calculate UCI with bootstrap df2 <- uci( sf_object = grid, var_name = 'jobs', dist_type = "euclidean", bootstrap_border = TRUE, showProgress = TRUE ) head(df2)
# load data data_dir <- system.file("extdata", package = "uci") grid <- readRDS(file.path(data_dir, "grid_bho.rds")) # calculate UCI df <- uci( sf_object = grid, var_name = 'jobs', dist_type = "euclidean", bootstrap_border = FALSE ) head(df) # calculate UCI with bootstrap df2 <- uci( sf_object = grid, var_name = 'jobs', dist_type = "euclidean", bootstrap_border = TRUE, showProgress = TRUE ) head(df2)