Learn R Programming

lulcc (version 1.0.4)

plot.PerformanceList: Plot method for PerformanceList objects

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

# S3 method for 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 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

Run this code
# NOT RUN {
## see lulcc-package examples
# }

Run the code above in your browser using DataLab