plot.PerformanceList: Plot method for PerformanceList objects

Description Usage Arguments Value See Also Examples

View source: R/plot.Performance.R

Description

Plot the the ROC curve for each performance object in a PerformanceList object. If more than one PerformanceList objects are provided ROC curves for the same land use category from different objects are included on the same plot for model comparison.

Usage

1
2
3
4
5
6
7
8
9
## S3 method for class 'PerformanceList'
plot(x, y, multipanel = TRUE, type = "l",
  abline = list(c(0, 1), col = "grey"), col = RColorBrewer::brewer.pal(9,
  "Set1"), key.args = NULL, ...)

## S4 method for signature 'list,ANY'
plot(x, y, multipanel = TRUE, type = "l",
  abline = list(c(0, 1), col = "grey"), col = RColorBrewer::brewer.pal(9,
  "Set1"), key.args = NULL, ...)

Arguments

x

either a single PerformanceList object or a list of these. If a list is provided it must be named.

y

not used

multipanel

logical. If TRUE, create a trellis plot where the number of panels equals the number of PerformanceList objects. Otherwise, create a single plot for each PerformanceList object

type

character. See lattice::panel.xyplot

abline

list. See lattice::panel.xyplot

col

character. Plotting colour

key.args

list containing additional components to be passed to the key argument of
lattice::xyplot

...

additional arguments to lattice::xyplot

Value

A trellis object.

See Also

PerformanceList, lattice::xyplot

Examples

1
## see lulcc-package examples

lulcc documentation built on May 1, 2019, 7:05 p.m.