Description Usage Arguments Value Examples
Get minimum threshold of distance that makes sure each observation has at least one neighbor
1 | min_distthreshold(geoda_obj, is_arc = FALSE, is_mile = TRUE)
|
geoda_obj |
An object of [geoda] class |
is_arc |
(optional) FALSE (default) or TRUE, compute arc distance between two observations |
is_mile |
(optional) TRUE (default) or FALSE, convert distance unit from mile to km. |
dist A real value of minimum threshold of distance
1 2 3 4 5 6 7 | ## Not run:
guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda")
guerry <- geoda_open(guerry_path)
dist_thres <- min_distthreshold(guerry)
dist_thres
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.