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'. To decrease spatial overfitting and to improve model performances, the package implements a forward feature selection that selects suitable predictor variables in view to their contribution to spatial or spatial-temporal 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>.

Version: 0.6.0
Depends: R (≥ 4.1.0)
Imports: caret, stats, utils, ggplot2, graphics, reshape, FNN, plyr, zoo, methods, grDevices, data.table, lattice
Suggests: doParallel, randomForest, lubridate, raster, sp, knitr, mapview, rmarkdown, sf, scales, parallel, latticeExtra, virtualspecies, gridExtra, viridis, rgeos, stars, scam, terra, rnaturalearth
Published: 2022-03-17
Author: Hanna Meyer [cre, aut], Marvin Ludwig [aut], Chris Reudenbach [ctb], Thomas Nauss [ctb], Edzer Pebesma [ctb]
Maintainer: Hanna Meyer <hanna.meyer at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: README NEWS
CRAN checks: CAST results


Reference manual: CAST.pdf
Vignettes: Introduction to CAST
Area of applicability of spatial prediction models
CAST - Code updates
Visualization of geographic- and feature space distances


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

Reverse dependencies:

Reverse suggests: mlr3spatiotempcv


Please use the canonical form to link to this page.