Learn R Programming

lulcc (version 1.0.4)

plot.FigureOfMerit: Plot method for FigureOfMerit objects

Description

Plot the overall, category-specific or transition-specific figure of merit at different resolutions.

Usage

# S3 method for FigureOfMerit
plot(x, y, ..., from, to,
  col = RColorBrewer::brewer.pal(8, "Set2"), type = "b", key, scales, xlab,
  ylab)

# S4 method for FigureOfMerit,ANY plot(x, y, ..., from, to, col = RColorBrewer::brewer.pal(8, "Set2"), type = "b", key, scales, xlab, ylab)

Arguments

x

a FigureOfMerit object

y

not used

additional arguments to lattice::xyplot

from

optional numeric value representing a land use category. If provided without to the figure of merit for all transitions from this category will be plotted

to

similar to from. If provided with a valid from argument the transition defined by these two arguments (i.e. from -> to) will be plotted. It is possible to include more than one category in which case the different transitions will be included on the same plot

col

character specifying the plotting colour. Default is to use the 'Set2' palette from RColorBrewer

type

character. See lattice::panel.xyplot

key

list. See lattice::xyplot

scales

list. See lattice::xyplot

xlab

character or expression. See lattice::xyplot

ylab

character or expression. See lattice::xyplot

Value

A trellis object.

See Also

FigureOfMerit, lattice::xyplot, lattice::panel.xyplot

Examples

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

Run the code above in your browser using DataLab