spatstat (version 1.24-1)

iplot: Point and Click Interface for Displaying a Point Pattern

Description

Plot a two-dimensional spatial point pattern with interactive (point-and-click) control over the plot.

Usage

iplot(x, xname)

Arguments

x
The spatial point pattern to be plotted. An object of class "ppp".
xname
Optional. Character string to use as the title of the dataset.

Value

  • NULL.

Details

This function generates a plot of a spatial point pattern dataset (object of class "ppp") and allows interactive control over the appearance of the plot using a point-and-click interface.

A new popup window is launched. The point pattern x is displayed in the left half of the window using plot.ppp with the default values of all the plot parameters. The right side of the window contains buttons and sliders allowing the user to change the header text, the plot symbols, the scale used to represent numeric marks, and so on. For a multitype point pattern, the user can also switch between viewing all points in a single display, and splitting the points into separate patterns according to type.

See Also

istat, ppp.object, plot.ppp

Examples

Run this code
if(interactive()) {
      data(cells)
      iplot(cells)
   }

Run the code above in your browser using DataCamp Workspace