plotEval: Plot model evaluation data

Description Methods Author(s) See Also Examples

Description

Make a ROC curve, or a plot of a threshold dependent measure against threshold values

Methods

usage: plot(x, y, ...)

x Object of class ModelEvaluation
y Character. Either 'ROC' or a threshold dependent measure such as 'kappa', 'TPR'
... Additional arguments that can be passed to plot

Author(s)

Robert J. Hijmans

See Also

ModelEvaluation-class, density, pairs, plot

Examples

1
2
3
4
5
6
7
8
9
# p = the predicted value for 50 known cases (locations) with presence of the phenomenon (species)
p = rnorm(50, mean=0.7, sd=0.3)
# b = the predicted value for 50 known cases (locations) with absence of the phenomenon (species)
a = rnorm(50, mean=0.4, sd=0.4)
e = evaluate(p=p, a=a)
plot(e, 'ROC')
plot(e, 'kappa')
plot(e, 'FPR')
plot(e, 'prevalence')

Example output

Loading required package: raster
Loading required package: sp

dismo documentation built on May 2, 2019, 6:07 p.m.