doi:10.2307/2332142>), Geary's C ('Geary' (1954) <doi:10.2307/2986645>), Getis-Ord's G ('Ord' and 'Getis' (1995) <doi:10.1111/j.1538-4632.1995.tb00912.x>), agreement coefficients from 'Ji' and Gallo (2006) (<doi:10.14358/PERS.72.7.823>), agreement metrics from 'Willmott' (1981) (<doi:10.1080/02723646.1981.10642213>) and 'Willmott' 'et' 'al'. (2012) (<doi:10.1002/joc.2419>), an implementation of the area of applicability methodology from 'Meyer' and 'Pebesma' (2021) (<doi:10.1111/2041-210X.13650>), and an implementation of multi-scale assessment as described in 'Riemann' 'et' 'al'. (2010) (<doi:10.1016/j.rse.2010.05.010>).">

waywiser: Ergonomic Methods for Assessing Spatial Models (original) (raw)

Assessing predictive models of spatial data can be challenging, both because these models are typically built for extrapolating outside the original region represented by training data and due to potential spatially structured errors, with "hot spots" of higher than expected error clustered geographically due to spatial structure in the underlying data. Methods are provided for assessing models fit to spatial data, including approaches for measuring the spatial structure of model errors, assessing model predictions at multiple spatial scales, and evaluating where predictions can be made safely. Methods are particularly useful for models fit using the 'tidymodels' framework. Methods include Moran's I ('Moran' (1950) <doi:10.2307/2332142>), Geary's C ('Geary' (1954) <doi:10.2307/2986645>), Getis-Ord's G ('Ord' and 'Getis' (1995) <doi:10.1111/j.1538-4632.1995.tb00912.x>), agreement coefficients from 'Ji' and Gallo (2006) (<doi:10.14358/PERS.72.7.823>), agreement metrics from 'Willmott' (1981) (<doi:10.1080/02723646.1981.10642213>) and 'Willmott' 'et' 'al'. (2012) (<doi:10.1002/joc.2419>), an implementation of the area of applicability methodology from 'Meyer' and 'Pebesma' (2021) (<doi:10.1111/2041-210X.13650>), and an implementation of multi-scale assessment as described in 'Riemann' 'et' 'al'. (2010) (<doi:10.1016/j.rse.2010.05.010>).

Version: 0.6.3
Depends: R (≥ 4.0)
Imports: dplyr (≥ 1.1.0), fields, FNN, glue, hardhat, Matrix, purrr, rlang (≥ 1.1.0), sf (≥ 1.0-0), spdep (≥ 1.1-9), stats, tibble, tidyselect, vctrs, yardstick (≥ 1.2.0)
Suggests: applicable, caret, CAST, covr, exactextractr, ggplot2, knitr, modeldata, recipes, rmarkdown, rsample, spatialsample, terra, testthat (≥ 3.0.0), tidymodels, tidyr, tigris, units, vip, whisker, withr
Published: 2025-04-16
DOI: 10.32614/CRAN.package.waywiser
Author: Michael Mahoney ORCID iD [aut, cre], Lucas Johnson ORCID iD [ctb], Virgilio Gómez-Rubio [rev] (Virgilio reviewed the package (v. 0.2.0.9000) for rOpenSci, see https://github.com/ropensci/software-review/issues/571), Jakub Nowosad [rev] (Jakub reviewed the package (v. 0.2.0.9000) for rOpenSci, see https://github.com/ropensci/software-review/issues/571), Posit Software, PBC [cph, fnd]
Maintainer: Michael Mahoney <mike.mahoney.218 at gmail.com>
BugReports: https://github.com/ropensci/waywiser/issues
License: MIT + file
URL: https://github.com/ropensci/waywiser,https://docs.ropensci.org/waywiser/
NeedsCompilation: no
Language: en-US
Citation: waywiser citation info
Materials: README, NEWS
In views: Spatial
CRAN checks: waywiser results

Documentation:

Downloads:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=waywiserto link to this page.