Learn R Programming

sp (version 0.9-78)

panel.spplot: panel and panel utility functions for spplot

Description

panel functions for spplot functions, and functions that can be useful within these panel functions

Usage

spplot.key(sp.layout, rows = 1, cols = 1)
SpatialPolygonsRescale(obj, offset, scale = 1, fill = "black", col = "black",
	plot.grid = TRUE, ...)
sp.lines(obj, col = 1, ...)
sp.points(obj, pch = 3, ...)
sp.polygons(obj, col = 1, fill = "transparent", ...)
sp.grid(obj, col = 1, alpha = 1,...)
sp.text(loc, txt, ...)

Arguments

sp.layout
list; see spplot for definition
rows
integer; panel row(s) for which the layout should be drawn
cols
integer; panel column(s) for which the layout should be drawn
obj
object of class SpatialPolygons-class for SpatialPolygonsRescale; of class SpatialLines-class, Lines-class
offset
offset for shifting a Polygons object
scale
scale for rescaling
fill
fill color
col
line color
plot.grid
logical; plot through grid functions (TRUE), or through traditional graphics functions (FALSE)
pch
plotting character
loc
numeric vector of two elements
txt
text to be plotted
alpha
alpha (transparency) level
...
arguments passed to the underlying lattice or grid functions

References

http://r-spatial.sourceforge.net/ has a graph gallery with examples with R code.

See Also

spplot, spplot-methods