dismo (version 0.7-11)

evaluation plots: Plot model evaluation data

Description

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

Arguments

Methods

usage: plot(x, y, ...) rll{ x Object of class ModelEvaluation y Character. Either 'ROC' or a threshold dependent measure in objects of class ModelEvaluation such as 'kappa', 'TPR' ... Additional arguments that can be passed to plot }

See Also

density, pairs, plot

Examples

Run this code
# 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')

Run the code above in your browser using DataCamp Workspace