Learn R Programming

stpp (version 1.0-3)

plot.stpp: Plot for spatio-temporal point objects

Description

This function plot either xy-locations and cumulative distribution of the times or xy-locations with time treated as a quantitative mark attached to each location.

Usage

## S3 method for class 'stpp':
plot(x, s.region=NULL, t.region=NULL, mark=FALSE, mark.cexmin=0.4,
     mark.cexmax=1.2, mark.col=1, ...)

Arguments

x
any object of class stpp in spatio-temporal point format.
s.region
two-column matrix specifying polygonal region containing all data locations. If s.region is missing, the default limits are considered.
t.region
vector containing the minimum and maximum values of the time interval. If t.region is missing, the default limits are considered.
mark
Logical. If FALSE (default), xy-locations and cumulative distribution of the times are plotted. If TRUE, the time is treated as a quantitative mark attached to each location, and the locations are plotted with the siz
mark.cexmin, mark.cexmax
range of the size of the plotting symbol when mark=TRUE.
mark.col
colour of the plotting symbol when mark=TRUE. If mark.col=0, all locations have the same colour specified by the usual col argument. Otherwise, can be 1 or "black" (default), 2 or "red", 3 or "green", 4 or "bl
...
further arguments to be passed to the function plot. Typical argument is pch.

Value

  • None

References

Gabriel E., Rowlingson B., Diggle P. (2013) stpp: an R package for plotting, simulating and analyzing Spatio-Temporal Point Patterns. Journal of Statistical Software, 53(2), 1--29.

See Also

as.3dpoints for creating data in spatio-temporal point format.