clock3: Spatial cross-validation procedure, CLOCK-3 method

View source: R/clock3.R

clock3R Documentation

Spatial cross-validation procedure, CLOCK-3 method

Description

Cross-validation procedures aims at splitting the initial occurrence dataset into a training subset that is used to build the model and the remaining data can be lately used to test model predictions. Spatially splitting training and test datasets helps reducing the influence of data spatial aggregation on model evaluation performance (Guillaumot et al. 2019, 2021).

Usage

clock3(occ, bg.coords)

Arguments

occ

Dataframe with longitude (column 1) and latitude (column 2) of the presence-only data. Decimal longitude and latitude are required.

bg.coords

Dataframe with longitude (column 1) and latitude (column 2) of the sampled background records. Decimal longitude and latitude are required.

Details

See Guillaumot et al.(2019) and vignette tutorial #4 "Spatial cross-validation" for complete examples and details.

Value

A list that details the group to which each data (presence or background record) belongs to; and the detail of the random longitude data that was sampled to initiate the CLOCK scheme. list(occ.grp=occ.grp,bg.coords.grp= bg.coords.grp, tirage)

References

Guillaumot C, Artois J, Saucède T, Demoustier L, Moreau C, Eléaume M, Agüera A, Danis B (2019). Broad-scale species distribution models applied to data-poor areas. Progress in Oceanography, 175, 198-207.

Guillaumot C, Danis B, Saucède T (2021). Species Distribution Modelling of the Southern Ocean : methods, main limits and some solutions. Antarctic Science.

Examples

#See Tutorial #4 "Spatial cross-validation"



charleneguillaumot/SDMPlay documentation built on Feb. 2, 2023, 1:09 p.m.