Learn R Programming

spacetime (version 0.2-2)

stplot: produce trellis plot for STxDF object

Description

create trellis plot for ST objects

Usage

stplot(obj, ...)
stplot.STFDF(obj, names.attr = index(obj@time), ..., as.table = TRUE)
stplot.STIDF(obj, names.attr = NULL, ..., as.table = TRUE, by =
    c("time", "burst", "id"), scales = list(draw = FALSE), xlab =
    NULL, ylab = NULL, type = 'p', number = 6, overlap = 0, asp)

Arguments

obj
object of a class deriving from ST
names.attr
names that will be used in the strip
as.table
logical; if TRUE, time will increas from top to bottom; if FALSE, time will increase from bottom to top
by
conditioning variable(s); in case time is conditioning variable, it will be classified using equal.count, using parameters overlap and number
scales
scales drawing; see scales argument of xyplot
xlab
x-axis label
ylab
y-axis label
type
character; use 'l' for lines, 'p' for symbols, 'b' for both lines and symbols
number
see argument by
overlap
see argument by
asp
aspect ratio of plot
...
arguments passed on to spplot in case of stplot.STFDF, or to xyplot in case of stplot.STIDF

Value

  • stplot is a wrapper around spplot, that automically plots each time stamp in a panel.