Learn R Programming

smacpod (version 1.3.0)

plot.scan: Plots object from spscan.test of class scan.

Description

Plots object from spscan.test of class scan.

Usage

## S3 method for class 'scan':
plot(x, ..., nv = 100, border = NULL, ccol = NULL,
  clty = NULL, clwd = NULL)

Arguments

x
An object of class scan to be plotted.
...
Additional graphical parameters passed to the spatstat::plot.ppp function.
nv
The number of verticies to draw the circle. Default is 100.
border
The border color of the circle. Default is NULL, meaning black.
ccol
Fill color of the circles. Default is NULL, indicating empty.
clty
Line type of circles. Default is NULL, indicting lty = 1.
clwd
Line width of circles. Default is NULL, indicating lwd = 2 for the most likely cluster and lwd = 1 for the rest.

See Also

plot.ppp

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