Learn R Programming

spatstat.explore (version 3.1-0)

plot.envelope: Plot a Simulation Envelope

Description

Plot method for the class "envelope".

Usage

# S3 method for envelope
plot(x, ..., main)

Value

Either NULL, or a data frame giving the meaning of the different line types and colours.

Arguments

x

An object of class "envelope", containing the variables to be plotted or variables from which the plotting coordinates can be computed.

main

Main title for plot.

...

Extra arguments passed to plot.fv.

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au and Rolf Turner r.turner@auckland.ac.nz

Details

This is the plot method for the class "envelope" of simulation envelopes. Objects of this class are created by the command envelope.

This plot method is currently identical to plot.fv.

Its default behaviour is to shade the region between the upper and lower envelopes in a light grey colour. To suppress the shading and plot the upper and lower envelopes as curves, set shade=NULL. To change the colour of the shading, use the argument shadecol which is passed to plot.fv.

See plot.fv for further information on how to control the plot.

See Also

envelope, plot.fv

Examples

Run this code
   E <- envelope(cells, Kest, nsim=19)
   plot(E)
   plot(E, sqrt(./pi) ~ r)

Run the code above in your browser using DataLab