Learn R Programming

spatstat (version 1.23-1)

plot.splitppp: Plot a List of Point Patterns

Description

Plots a list of point patterns.

Usage

## S3 method for class 'splitppp':
plot(x, \dots, main, arrange=TRUE,
   nrows=NULL, ncols=NULL, main.panel=NULL, mar.panel=c(2,1,1,2),
   panel.begin=NULL, panel.end=NULL, panel.args=NULL)

Arguments

x
A named list of point patterns, typically obtained from split.ppp.
...
Arguments passed to plot.ppp which control the appearance of each plot panel.
main
Overall heading for the plot.
arrange
Logical flag indicating whether to plot the point patterns side-by-side on a single page (arrange=TRUE) or plot them individually in a succession of frames (arrange=FALSE).
nrows,ncols
Optional. The number of rows/columns in the plot layout (assuming arrange=TRUE). You can specify either or both of these numbers.
main.panel
Optional. A character string, or a vector of character strings, giving the headings for each of the point patterns.
mar.panel
Optional value of the graphics parameter mar controlling the size of the margins outside each plot panel. See the help file for par.
panel.begin,panel.end
Optional. Functions that will be executed before and after each panel is plotted.
panel.args
Internal use only.

Value

  • Null.

Details

This is the plot method for the class "splitppp". It is typically used to plot the result of the function split.ppp but it may also be used to plot any list of point patterns created by the user.

The argument x should be a named list of point patterns (objects of class "ppp", see ppp.object). Each of these point patterns will be plotted in turn using plot.ppp.

See Also

split.ppp, plot.ppp, ppp.object

Examples

Run this code
# Multitype point pattern
 data(amacrine)
 plot(split(amacrine))

Run the code above in your browser using DataLab