expertscore: Expert score

Description Usage Arguments Details Value References Examples

View source: R/expertscore.R

Description

This packages computes score of an expert map based on its congruence with probability surface of a species distribution model.

Usage

1
expertscore(expertmap, probsurface, studyarea)

Arguments

expertmap

THis is a map

probsurface

This is a raster

studyarea

This is study area

Details

A quantitative metric called expert score was developed by Mainali et al to evaluate the agreement between an expert map and a habitat probability surface obtained from a species distribution model. This method rewards both the avoidance of unsuitable sites and the inclusion of suitable sites in the expert map.

The Expert Score has a similar interpretation as the familiar coefficient of determination from simple linear regression or the more general pseudo-coefficient of determination for generalized linear models. For example, when the Expert Score equals 0, the expert map has predictive accuracy equal to that that of the null map. When the Expert Score equals 1, the expert map perfectly distinguishes occupied sites from unoccupied sites. Expert Score can be negative when an expert map has less predictive accuracy than the null map. The score is computed as 1 - expert map deviance/null deviance. Given the heterogeneity and discontinuity of suitable landscape, expert maps that are drawn with more detail are more likely to agree with SDMs and thus minimize both commission and omission errors.

Value

This function returns an expert score

References

Kumar Mainali, Trevor Hefley, Leslie Ries, William Fagan 2020. Matching expert range maps with species distribution model predictions. Conservation Biology https://doi.org/10.1111/cobi.13492

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# load the hypothetical predicted continuous probability surface
data(myprobsurface)

# load three hypothetical expert maps
data(myexpert1)
data(myexpert2)
data(myexpert3)

# load the hypothetical occurrences
data(myoccurrences)

# load study area -- we suggest a union of convex hull of occurrences and all competing expert maps
# highly distant and suspicious occurrences can be discarded before making a convex hull
data(mystudyarea)

# plot the data
image(myprobsurface, zlim=c(0,1),col=rev(terrain.colors(100)),xaxt="n",yaxt="n",bty="n",xlab=" ",ylab=" ")
points(myoccurrences, pch=21, col="purple", cex=1)
plot(myexpert1, add=TRUE, border="orange", lwd=2)
plot(myexpert2, add=TRUE, border="red", lwd=2)
plot(myexpert3, add=TRUE, border="cyan", lwd=2)
plot(mystudyarea, add=TRUE, border='blue', lwd=1)

# compute expert score of the three hypothetical expert maps
expertscore(expertmap = myexpert1, probsurface = myprobsurface, studyarea = mystudyarea)
expertscore(expertmap = myexpert2, probsurface = myprobsurface, studyarea = mystudyarea)
expertscore(expertmap = myexpert3, probsurface = myprobsurface, studyarea = mystudyarea)

kpmainali/expertscore documentation built on March 13, 2020, 12:20 a.m.