Learn R Programming

smacpod (version 1.3.0)

plot.logrrenv: Plots object from logrr of class logrrenv.

Description

Plots object from logrr of class logrrenv.

Usage

## S3 method for class 'logrrenv':
plot(x, ..., conlist = list(), main = "")

Arguments

x
An object of class logrrenv to be plotted.
...
Additional graphical parameters passed to the spatstat::image.im function. See details.
conlist
Additional argument passed to the spatstat::contour.im function.
main
A main title for the plot. Default is blank.

Details

An important aspect of this plot is the color argument (col) used for displaying the regions outside the tolerance envelopes. If NULL (the implicit default), then the default color palette used by spatstat::image.im will be used. Simpler schemes, e.g., c("blue", "white", "orange") can suffice. See the examples.

See Also

plot.im

contour.im

Examples

Run this code
data(grave)
rsim = logrr(grave, nsim = 9)
plot(rsim)
# no border or ribben (legend).  Simple color scheme.
plot(rsim, col = c("blue", "white", "orange"), ribbon = FALSE, box = FALSE)
# alternate color scheme
plot(rsim, col = topo.colors(12))

Run the code above in your browser using DataLab