Functions and classes for spatial resampling to use with the 'rsample' package, such as spatial cross-validation (Brenning, 2012) <doi:10.1109/IGARSS.2012.6352393>. The scope of 'rsample' and 'spatialsample' is to provide the basic building blocks for creating and analyzing resamples of a spatial data set, but neither package includes functions for modeling or computing statistics. The resampled spatial data sets created by 'spatialsample' do not contain much overhead in memory.
| Version: | 0.6.1 |
| Depends: | R (≥ 3.6) |
| Imports: | dplyr (≥ 1.0.0),ggplot2,glue,purrr,rlang (≥ 1.0.0),rsample (≥ 1.1.1),sf (≥ 1.0-9), stats,tibble,tidyselect,units,vctrs (≥ 0.3.6) |
| LinkingTo: | cpp11 |
| Suggests: | covr,gifski,knitr,lwgeom,modeldata,rmarkdown,testthat (≥ 3.0.0),tidyr,vdiffr,whisker,withr,yardstick |
| Published: | 2025-12-02 |
| DOI: | 10.32614/CRAN.package.spatialsample |
| Author: | Michael Mahoney [aut, cre], Julia Silge [aut], Posit Software, PBC [cph, fnd] |
| Maintainer: | Michael Mahoney <mike.mahoney.218 at gmail.com> |
| BugReports: | https://github.com/tidymodels/spatialsample/issues |
| License: | MIT + fileLICENSE |
| URL: | https://github.com/tidymodels/spatialsample,https://spatialsample.tidymodels.org |
| NeedsCompilation: | yes |
| Citation: | spatialsample citation info |
| Materials: | README,NEWS |
| In views: | Spatial |
| CRAN checks: | spatialsample results |