sshic {sshicm} | R Documentation |
Measurement of Spatial Stratified Heterogeneity Based on Information Consistency for Continuous Variables
Description
Measurement of Spatial Stratified Heterogeneity Based on Information Consistency for Continuous Variables
Usage
sshic(d, s, seed = 42, permutation_number = 999, bin_method = "Sturges")
Arguments
d |
The target variable. |
s |
The stratification. |
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 two-element numerical vector.
Examples
# This code may take a bit longer to execute:
baltim = sf::read_sf(system.file("extdata/baltim.gpkg",package = "sshicm"))
sshic(baltim$PRICE,baltim$DWELL)
[Package sshicm version 0.1.0 Index]