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. This package includes functions to improve spatial-temporal modelling tasks using 'caret'. It prepares data for Leave-Location-Out and Leave-Time-Out cross-validation which are target-oriented validation strategies for spatial-temporal models. To decrease overfitting and improve model performances, the package implements a forward feature selection that selects suitable predictor variables in view to their contribution to the target-oriented performance. CAST further includes functionality to estimate the (spatial) area of applicability of prediction models by analysing the similarity between new data and training data.

Version: 0.5.0
Depends: R (≥ 3.5.0)
Imports: caret, stats, utils, ggplot2, graphics, reshape, FNN, plyr, zoo, methods, grDevices, data.table, lattice
Suggests: doParallel, GSIF, randomForest, lubridate, raster, sp, knitr, mapview, rmarkdown, sf, scales, parallel, latticeExtra, virtualspecies, gridExtra, viridis, rgeos, stars, scam
Published: 2021-02-19
Author: Hanna Meyer [cre, aut], Chris Reudenbach [ctb], Marvin Ludwig [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: Area of applicability of spatial prediction models
Introduction to CAST
Package source: CAST_0.5.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: CAST_0.5.0.tgz, r-oldrel: CAST_0.4.2.tgz
Old sources: CAST archive

Reverse dependencies:

Reverse suggests: mlr3spatiotempcv


Please use the canonical form to link to this page.