Type: | Package |
Title: | Urban Centrality Index |
Version: | 0.3.0 |
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. |
License: | MIT + file LICENSE |
URL: | https://github.com/ipeaGIT/uci, https://ipeagit.github.io/uci/ |
BugReports: | https://github.com/ipeaGIT/uci/issues |
Depends: | R (≥ 4.2.0) |
Imports: | checkmate, cppRouting, data.table, furrr, future, pbapply, fields, sf, spdep, utils |
Suggests: | covr, knitr, ggplot2, rmarkdown, stats, testthat |
VignetteBuilder: | knitr |
Encoding: | UTF-8 |
NeedsCompilation: | no |
RoxygenNote: | 7.2.3 |
Packaged: | 2023-09-23 22:13:06 UTC; user |
Author: | Rafael H. M. Pereira
|
Maintainer: | Rafael H. M. Pereira <rafa.pereira.br@gmail.com> |
Repository: | CRAN |
Date/Publication: | 2023-09-23 22:40:03 UTC |
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 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
Usage
uci(
sf_object,
var_name,
dist_type = "euclidean",
bootstrap_border = FALSE,
showProgress = TRUE,
parallel = FALSE
)
Arguments
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 |
Usage
Please check the vignettes and data documentation on the website.
Author(s)
Maintainer: Rafael H. M. Pereira rafa.pereira.br@gmail.com (ORCID)
See Also
Useful links:
Report bugs at https://github.com/ipeaGIT/uci/issues
Examples
# 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)