plot.ModelEvaluation: Plot accuracy statistics dependent on threshold.

Description Usage Arguments Examples

View source: R/plot.ModelEvaluation.R

Description

Kappa/Sensitivity (Producer's Accuracy) and Positive Predictive Value (Users's Accuracy) are plotted.

Usage

1
2
## S3 method for class 'ModelEvaluation'
plot(x, add = FALSE, yLimits = c(0, 1), ...)

Arguments

x

an object of class ModelEvaluation. (see evaluate).

add

add the plot to the active device, e.g. a histogram plot (hist.trainOcc) (default is FALSE)

yLimits

specify the minimum and maximum points in the density scale of to which the accuracy scale should be projected. This is useful if you add the plot to another one, e.g. a histogram plot (hist.trainOcc), whose y-axis scale is not suitable for the accuracy plot (i.e. if it is not between 0 and 1).

...

other arguments passed to plot.

Examples

1
2
3
4
5
6
## Not run: 
# get a ModelEvaluation object
ev <- dismo::evaluate( p=rnorm(25, mean = 1), a=rnorm(100, mean = -1) )
plot(ev)

## End(Not run)

benmack/oneClass documentation built on Dec. 15, 2020, 7:38 p.m.