Learn R Programming

smacpod (version 2.6)

plot.logrrenv: Plots objects produced by the logrr function.

Description

Plots objects of class logrrenv produced by the logrr function.

Usage

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

Arguments

x

An object of class logrrenv.

...

Additional graphical parameters passed to the image.im function. See Details.

conlist

Additional argument passed to the 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 non-rejection envelopes. If NULL (the implicit default), then the default color palette used by 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)
if (FALSE) {
logrrsim = logrr(grave, nsim = 9)
plot(logrrsim)
# no border or ribben (legend).  Simple color scheme.
plot(logrrsim, col = c("blue", "white", "orange"), ribbon = FALSE, box = FALSE) 
# alternate color scheme
plot(logrrsim, col = topo.colors(12), conlist = list(col = "lightgrey"))}

Run the code above in your browser using DataLab