Package: spatialkit
Title: Spatial Tessellation, Modeling, and Cross-Validation Toolkit
Version: 2.0.0
Authors@R: 
    person("Justin", "Chase", email = "jchase.msu@gmail.com",
           role = c("aut", "cre", "cph"))
Description: Constructs analysis regions from the distribution of the data
    itself, as an alternative to aggregating onto administrative boundaries
    that were drawn for unrelated purposes. Seeds and builds Voronoi,
    Delaunay, hexagonal and square tessellations with reproducible
    identifiers, selects a cell count from the spatial structure of the
    observations, assigns features to cells, and aggregates to cell level
    with optional design-effect corrections so that standard errors account
    for within-cell autocorrelation. Also manages coordinate reference
    systems. Fits geographically weighted regression
    (via 'GWmodel'; Lu et al. (2014) <doi:10.1080/10095020.2014.917453>),
    Bayesian spatial Gaussian process regression (via 'brms', using the
    Hilbert space approximation of Riutort-Mayol et al. (2023)
    <doi:10.1007/s11222-022-10167-2>) and random forests (via 'ranger', with
    the permutation importance of Strobl et al. (2007)
    <doi:10.1186/1471-2105-8-25>), each behind one S3 class with consistent
    predict, fitted, residuals and plot methods. Provides spatial
    cross-validation with random, block, buffered, leave-location-out and
    nearest-neighbour distance-matched folds (Mila et al. (2022)
    <doi:10.1111/2041-210X.13851>), forward variable selection, model
    comparison, prediction onto a regular surface, and the area of
    applicability of Meyer and Pebesma (2021) <doi:10.1111/2041-210X.13650>
    to flag where a fitted model extrapolates beyond its training data.
License: MIT + file LICENSE
URL: https://github.com/elkronos/gis_modeling_toolkit
BugReports: https://github.com/elkronos/gis_modeling_toolkit/issues
Encoding: UTF-8
Depends: R (>= 4.1.0)
Imports: sf (>= 1.0), dplyr (>= 1.0), logger, digest, stats, methods,
        utils, parallel
Suggests: sp, GWmodel, ranger, brms (>= 2.17.0), cmdstanr, loo, tibble,
        geometry, gstat, ggplot2, patchwork, FNN, Matrix, spdep,
        testthat (>= 3.1.5), knitr, rmarkdown
Additional_repositories: https://stan-dev.r-universe.dev
Config/testthat/edition: 3
VignetteBuilder: knitr
Config/roxygen2/version: 8.1.0
NeedsCompilation: no
Packaged: 2026-09-11 00:37:29 UTC; appleair
Author: Justin Chase [aut, cre, cph]
Maintainer: Justin Chase <jchase.msu@gmail.com>
Repository: CRAN
Date/Publication: 2026-09-11 07:00:02 UTC
Built: R 4.5.2; ; 2026-09-11 08:38:20 UTC; unix
