sshicm {sshicm} | R Documentation |
Information Consistency-Based Measures for Spatial Stratified Heterogeneity
Description
Information Consistency-Based Measures for Spatial Stratified Heterogeneity
Usage
sshicm(
formula,
data,
type = "IC",
seed = 42,
permutation_number = 999,
bin_method = "Sturges"
)
Arguments
formula |
A formula. |
data |
A |
type |
(optional) Measure type, default is |
seed |
(optional) Random number seed, default is |
permutation_number |
(optional) Number of Random Permutations, default is |
bin_method |
(optional) Histogram binning method for probability density estimation, default is
|
Value
A tibble
.
Examples
# This code may take a bit longer to execute:
baltim = sf::read_sf(system.file("extdata/baltim.gpkg",package = "sshicm"))
sshicm(PRICE ~ .,baltim,type = "IC")
cinc = sf::read_sf(system.file("extdata/cinc.gpkg",package = "sshicm"))
sshicm(THEFT_D ~ .,cinc,type = "IN")
[Package sshicm version 0.1.0 Index]