Learn R Programming

lulcc (version 1.0.4)

plot.AgreementBudget: Plot method for AgreementBudget objects

Description

Plot an AgreementBudget object.

Usage

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

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

Value

A trellis object.

Arguments

x

an AgreementBudget object

y

not used

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

col

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

key

list. See lattice::xyplot

scales

list. See lattice::xyplot

xlab

character or expression. See lattice::xyplot

ylab

character or expression. See lattice::xyplot

...

additional arguments to lattice::xyplot

Details

The plot layout is based on work presented in Pontius et al. (2011)

References

Pontius Jr, R.G., Peethambaram, S., Castella, J.C. (2011). Comparison of three maps at multiple resolutions: a case study of land change simulation in Cho Don District, Vietnam. Annals of the Association of American Geographers 101(1): 45-62.

See Also

AgreementBudget, lattice::xyplot

Examples

Run this code

## see lulcc-package examples

Run the code above in your browser using DataLab