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").

Other spatiotemporal resampling packages

This list does not claim to be comprehensive.

NameLanguageResources
blockCVRPaper, CRAN
CASTRPaper, CRAN
ENMevalRPaper, CRAN
spatialsampleRCRAN
sperrorestRPaper, CRAN
PyspatialmlPythonGitHub
spacvPythonGitHub

Copy Link

Version

Install

install.packages('mlr3spatiotempcv')

Monthly Downloads

1,069

Version

1.0.0

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Patrick Schratz

Last Published

August 19th, 2021

Functions in mlr3spatiotempcv (1.0.0)

ResamplingRepeatedSptCVCstf

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

(blockCV) Repeated "environmental blocking" resampling
ResamplingSpCVCoords

(sperrorest) Coordinate-based k-means clustering
ResamplingSpCVBlock

(blockCV) Spatial block resampling
ResamplingRepeatedSptCVCluto

(skmeans) Repeated spatiotemporal clustering resampling
ResamplingSpCVBuffer

(blockCV) Spatial buffering resampling
ResamplingRepeatedSpCVTiles

(sperrorest) Repeated spatial "tiles" resampling
ResamplingRepeatedSpCVDisc

(sperrorest) Repeated spatial "disc" resampling
ResamplingRepeatedSpCVBlock

(blockCV) Repeated spatial block resampling
ResamplingSptCVCstf

(CAST) "Leave-location-and-time-out" resampling
as_task_regr

Convert to a Regression Task
as_task_classif_st

Convert to a Spatiotemporal Classification Task
as_task_regr_st

Convert to a Spatiotemporal Regression Task
autoplot

TaskClassifST

Crate a Spatiotemporal Classification Task
ResamplingSpCVTiles

(sperrorest) Spatial "Tiles" resampling
ResamplingSptCVCluto

(skmeans) Spatiotemporal clustering resampling
ResamplingRepeatedSpCVCoords

(sperrorest) Repeated coordinate-based k-means clustering
mlr3spatiotempcv-package

mlr3spatiotempcv: Spatiotemporal Resampling Methods for 'mlr3'
autoplot.ResamplingSpCVDisc

Visualization Functions for SpCV Disc Method.
autoplot.ResamplingSpCVCoords

Visualization Functions for SpCV Coords Methods.
TaskRegrST

Create a Spatiotemporal Regression Task
mlr_tasks_ecuador

Ecuador Classification Task
as_task_classif

Convert to a Classification Task
ResamplingSpCVDisc

(sperrorest) Spatial "disc" resampling
ResamplingSpCVEnv

(blockCV) "Environmental blocking" resampling
mlr_tasks_diplodia

Diplodia Classification Task
autoplot.ResamplingCV

Visualization Functions for Non-Spatial CV Methods.
mlr_tasks_cookfarm

Cookfarm Profiles Regression Task
autoplot.ResamplingCustomCV

Visualization Functions for Non-Spatial CV Methods.
autoplot.ResamplingSpCVEnv

Visualization Functions for SpCV Env Methods.
autoplot.ResamplingSpCVTiles

Visualization Functions for SpCV Tiles Method.
autoplot.ResamplingSptCVCluto

Visualization Functions for SptCV Cluto Methods.
autoplot.ResamplingSptCVCstf

Visualization Functions for SptCV Cstf Methods.
autoplot.ResamplingSpCVBlock

Visualization Functions for SpCV Block Methods.
autoplot.ResamplingSpCVBuffer

Visualization Functions for SpCV Buffer Methods.