Learn R Programming

SSDM (version 0.2.8)

evaluate: Evaluate

Description

Evaluation of SDM or ESDM habitat suitability predictions or evalaution of SSDM floristic composition with Pottier et al, 2013 method (see reference below)

Usage

evaluate(obj, ...)

# S4 method for Algorithm.SDM evaluate(obj, cv, cv.param, thresh = 1001, metric = "SES", Env, ...)

# S4 method for MAXENT.SDM evaluate(obj, cv, cv.param, thresh = 1001, metric = "SES", Env, ...)

# S4 method for Stacked.SDM evaluate(obj, ...)

Value

SDM/ESDM/SSDM evaluation in a data.frame

Arguments

obj

Stacked.SDM. SSDM to evaluate

...

unused argument

cv

character. Method of cross-validation used to evaluate the SDM (see details below).

cv.param

numeric. Parameters associated to the method of cross-validation used to evaluate the SDM (see details below).

thresh

numeric. A single integer value representing the number of equal interval threshold values between 0 and 1.

metric

character. Metric(s) used to select the best SDMs that will be included in the ensemble SDM (see details below).

Env

raster object. Stacked raster object of environmental variables (can be processed first by load_var).

References

Pottier, J., Dubuis, A., Pellissier, L., Maiorano, L., Rossier, L., Randin, C. F., Guisan, A. (2013). The .accuracy of plant assemblage prediction from species distribution models varies along environmental gradients. Global Ecology and Biogeography, 22(1), 52-63. https://doi.org/10.1111/j.1466-8238.2012.00790.x

Examples

Run this code

if (FALSE) {
# Loading data
data(Env)
data(Occurrences)
# SSDM building
SSDM <- stack_modelling(c('CTA', 'SVM'), Occurrences, Env, rep = 1,
                       Xcol = 'LONGITUDE', Ycol = 'LATITUDE',
                       Spcol = 'SPECIES')

# Evaluation
evaluate(SSDM)

}

Run the code above in your browser using DataLab