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

1.0.1

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Patrick Schratz

Last Published

March 3rd, 2022

Functions in mlr3spatiotempcv (1.0.1)

ResamplingRepeatedSptCVCstf

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

(sperrorest) Repeated spatial "tiles" resampling
ResamplingRepeatedSpCVDisc

(sperrorest) Repeated spatial "disc" resampling
ResamplingRepeatedSpCVEnv

(blockCV) Repeated "environmental blocking" resampling
ResamplingRepeatedSpCVBlock

(blockCV) Repeated spatial block resampling
ResamplingSpCVBlock

(blockCV) Spatial block resampling
ResamplingRepeatedSptCVCluto

(skmeans) Repeated spatiotemporal clustering resampling
ResamplingSpCVBuffer

(blockCV) Spatial buffering resampling
ResamplingRepeatedSpCVCoords

(sperrorest) Repeated coordinate-based k-means clustering
ResamplingSpCVCoords

(sperrorest) Coordinate-based k-means clustering
autoplot.ResamplingCV

Visualization Functions for Non-Spatial CV Methods.
ResamplingSpCVEnv

(blockCV) "Environmental blocking" resampling
autoplot.ResamplingSpCVDisc

Visualization Functions for SpCV Disc Method.
autoplot.ResamplingSpCVCoords

Visualization Functions for SpCV Coords Methods.
ResamplingSpCVDisc

(sperrorest) Spatial "disc" resampling
autoplot.ResamplingCustomCV

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

Visualization Functions for SpCV Tiles Method.
TaskClassifST

Crate a Spatiotemporal Classification Task
ResamplingSptCVCstf

(CAST) "Leave-location-and-time-out" resampling
autoplot.ResamplingSpCVEnv

Visualization Functions for SpCV Env Methods.
mlr3spatiotempcv-package

mlr3spatiotempcv: Spatiotemporal Resampling Methods for 'mlr3'
TaskRegrST

Create a Spatiotemporal Regression Task
as_task_classif_st

Convert to a Spatiotemporal Classification Task
autoplot.ResamplingSptCVCluto

Visualization Functions for SptCV Cluto Methods.
as_task_classif

Convert to a Classification Task
mlr_tasks_cookfarm

Cookfarm Profiles Regression Task
autoplot.ResamplingSptCVCstf

Visualization Functions for SptCV Cstf Methods.
ResamplingSpCVTiles

(sperrorest) Spatial "Tiles" resampling
autoplot.ResamplingSpCVBuffer

Visualization Functions for SpCV Buffer Methods.
autoplot.ResamplingSpCVBlock

Visualization Functions for SpCV Block Methods.
ResamplingSptCVCluto

(skmeans) Spatiotemporal clustering resampling
mlr_tasks_diplodia

Diplodia Classification Task
as_task_regr

Convert to a Regression Task
as_task_regr_st

Convert to a Spatiotemporal Regression Task
mlr_tasks_ecuador

Ecuador Classification Task
autoplot