Learn R Programming

⚠️There's a newer version (2.3.2) of this package.Take me there.

mlr3spatiotempcv

Package website: release | dev

Spatiotemporal resampling methods for mlr3.

This package extends the mlr3 package framework with spatiotemporal resampling and visualization methods.

If you prefer the tidymodels ecosystem, have a look at the {spatialsample} package for spatial sampling methods.

Installation

CRAN version

install.packages("mlr3spatiotempcv")

Development version

remotes::install_github("mlr-org/mlr3spatiotempcv")

# R Universe Repo
install.packages('mlr3spatiotempcv', mlrorg = 'https://mlr-org.r-universe.dev')

Get Started

See the "Get Started" vignette for a quick introduction.

For more detailed information including an usage example see the "Spatiotemporal Analysis" chapter in the mlr3book.

Article "Spatiotemporal Visualization" shows how 3D subplots grids can be created.

Citation

To cite the package in publications, use the output of citation("mlr3spatiotempcv").

Resources

Other spatiotemporal resampling packages

This list does not claim to be comprehensive.

(Disclaimer: Because CRAN does not like DOI URLs in their automated checks, direct linking to scientific articles is not possible...)

NameLanguageResources
blockCVRCRAN
CASTRPaper, CRAN
ENMevalRCRAN
spatialsampleRCRAN
sperrorestRCRAN
PyspatialmlPythonGitHub
spacvPythonGitHub
Museo ToolboxPythonPaper, GitHub

FAQ

Copy Link

Version

Install

install.packages('mlr3spatiotempcv')

Monthly Downloads

1,069

Version

2.0.3

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Patrick Schratz

Last Published

November 19th, 2022

Functions in mlr3spatiotempcv (2.0.3)

as_task_classif_st

Convert to a Spatiotemporal Classification Task
TaskClassifST

Create a Spatiotemporal Classification Task
TaskRegrST

Create a Spatiotemporal Regression Task
autoplot.ResamplingSpCVEnv

Visualization Functions for SpCV Env Methods.
mlr_resamplings_repeated_spcv_block

(blockCV) Repeated spatial block resampling
autoplot.ResamplingSpCVTiles

Visualization Functions for SpCV Tiles Method.
autoplot.ResamplingSpCVBlock

Visualization Functions for SpCV Block Methods.
autoplot.ResamplingSpCVBuffer

Visualization Functions for SpCV Buffer Methods.
mlr_resamplings_repeated_spcv_coords

(sperrorest) Repeated coordinate-based k-means clustering
as_task_regr_st.TaskClassifST

Convert to a Spatiotemporal Regression Task
mlr_resamplings_repeated_sptcv_cstf

(CAST) Repeated spatiotemporal "leave-location-and-time-out" resampling
mlr_resamplings_spcv_block

(blockCV) Spatial block resampling
mlr_resamplings_spcv_tiles

(sperrorest) Spatial "Tiles" resampling
autoplot_multi_fold_dt

Autoplot helper
mlr_resamplings_repeated_spcv_tiles

(sperrorest) Repeated spatial "tiles" resampling
strat_sample_folds

Stratified random sampling
mlr_resamplings_repeated_sptcv_cluto

(skmeans) Repeated spatiotemporal clustering resampling via CLUTO
mlr_tasks_diplodia

Diplodia Classification Task
autoplot.ResamplingCV

Visualization Functions for Non-Spatial CV Methods.
assert_spatial_task

Check spatial task
mlr_tasks_ecuador

Ecuador Classification Task
autoplot.ResamplingCustomCV

Visualization Functions for Non-Spatial CV Methods.
autoplot

Re-export of autoplot
autoplot.ResamplingSptCVCluto

Visualization Functions for SptCV Cluto Methods.
autoplot.ResamplingSpCVCoords

Visualization Functions for SpCV Coords Methods.
autoplot.ResamplingSptCVCstf

Visualization Functions for SptCV Cstf Methods.
mlr_resamplings_spcv_buffer

(blockCV) Spatial buffering resampling
autoplot.ResamplingSpCVDisc

Visualization Functions for SpCV Disc Method.
mlr_resamplings_spcv_coords

(sperrorest) Coordinate-based k-means clustering
mlr_resamplings_spcv_disc

(sperrorest) Spatial "disc" resampling
mlr_resamplings_sptcv_cstf

(CAST) Spatiotemporal "Leave-location-and-time-out" resampling
mlr_resamplings_spcv_env

(blockCV) "Environmental blocking" resampling
mlr_tasks_cookfarm_mlr3

Cookfarm Profiles Regression Task
mlr3spatiotempcv-package

mlr3spatiotempcv: Spatiotemporal Resampling Methods for 'mlr3'
mlr_resamplings_sptcv_cluto

(skmeans) Spatiotemporal clustering resampling via CLUTO
mlr_resamplings_repeated_spcv_disc

(sperrorest) Repeated spatial "disc" resampling
mlr_resamplings_repeated_spcv_env

(blockCV) Repeated "environmental blocking" resampling