New local spatial statistics: geo_hotspot() (Getis-Ord Gi*) and geo_lisa() (local Moran’s I with cluster types, analytical or permutation p-values) on k-nearest or distance-band neighbours. Results equal spdep::localG() and spdep::localmoran().
New geo_interpolate() predicts a numeric column at raster cells or points by inverse-distance weighting or ordinary kriging (exponential, spherical or Gaussian variogram, fitted with gstat when not given). Results equal gstat::idw() and gstat::krige() to numerical precision.
Maps use real, published records only. New dataset png_ants_sites holds the published bait GPS of the 16 Mt Wilhelm ant transects (Mottl, Moses and Klimes 2023, doi:10.5281/zenodo.8191946), and geo_example_sites() returns their band centroids. The invented Wanang coordinates and the simulated Wanang stem case study are gone.
The Gallery now shows the real-data site, Hill-number, SRTM elevation and Oecophylla smaragdina species distribution maps (GBIF CC0/CC BY records in inst/extdata, WorldClim 2.1), rendered by data-raw/gallery_maps.R. Basemap tiles are drawn in the right projection and their zoom follows the map extent.
First version. All mapping, geospatial and spatial-ecology verbs move here from tidydiversity, which stays the home of diversity estimation. The two packages are designed to be loaded together: