CAST: 'caret' Applications for Spatial-Temporal Models

Supporting functionality to run 'caret' with spatial or spatial-temporal data. 'caret' is a frequently used package for model training and prediction using machine learning. CAST includes functions to improve spatial or spatial-temporal modelling tasks using 'caret'. It includes the newly suggested 'Nearest neighbor distance matching' cross-validation to estimate the performance of spatial prediction models and allows for spatial variable selection to selects suitable predictor variables in view to their contribution to the spatial model performance. CAST further includes functionality to estimate the (spatial) area of applicability of prediction models. Methods are described in Meyer et al. (2018) <doi:10.1016/j.envsoft.2017.12.001>; Meyer et al. (2019) <doi:10.1016/j.ecolmodel.2019.108815>; Meyer and Pebesma (2021) <doi:10.1111/2041-210X.13650>; Milà et al. (2022) <doi:10.1111/2041-210X.13851>; Meyer and Pebesma (2022) <doi:10.1038/s41467-022-29838-9>; Linnenbrink et al. (2023) <doi:10.5194/egusphere-2023-1308>. The package is described in detail in Meyer et al. (2024) <doi:10.48550/arXiv.2404.06978>.

Version: 1.0.2
Depends: R (≥ 4.1.0)
Imports: caret, stats, utils, ggplot2, graphics, FNN, plyr, zoo, methods, grDevices, data.table, sf, forcats, twosamples, terra, sp
Suggests: doParallel, lubridate, randomForest, knitr, geodata, mapview, rmarkdown, scales, parallel, gridExtra, viridis, stars, scam, rnaturalearth, MASS, RColorBrewer, tmap, PCAmixdata, gower, clustMixType, testthat (≥ 3.0.0)
Published: 2024-06-15
DOI: 10.32614/CRAN.package.CAST
Author: Hanna Meyer [cre, aut], Carles Milà [aut], Marvin Ludwig [aut], Jan Linnenbrink [aut], Fabian Schumacher [aut], Philipp Otto [ctb], Chris Reudenbach [ctb], Thomas Nauss [ctb], Edzer Pebesma [ctb]
Maintainer: Hanna Meyer <hanna.meyer at uni-muenster.de>
BugReports: https://github.com/HannaMeyer/CAST/issues/
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/HannaMeyer/CAST, https://hannameyer.github.io/CAST/
NeedsCompilation: no
Materials: README NEWS
CRAN checks: CAST results [issues need fixing before 2025-01-10]

Documentation:

Reference manual: CAST.pdf
Vignettes: Introduction to CAST 1.0.0
Visualization of nearest neighbor distance distributions
Nearest neighbor distance matching Cross-validation in CAST
Area of applicability of spatial prediction models
Improve computation time of CAST methods

Downloads:

Package source: CAST_1.0.2.tar.gz
Windows binaries: r-devel: CAST_1.0.2.zip, r-release: CAST_1.0.2.zip, r-oldrel: CAST_1.0.2.zip
macOS binaries: r-release (arm64): CAST_1.0.2.tgz, r-oldrel (arm64): CAST_1.0.2.tgz, r-release (x86_64): CAST_1.0.2.tgz, r-oldrel (x86_64): CAST_1.0.2.tgz
Old sources: CAST archive

Reverse dependencies:

Reverse imports: meteo
Reverse suggests: mlr3spatiotempcv, waywiser

Linking:

Please use the canonical form https://CRAN.R-project.org/package=CAST to link to this page.