plot.s2pp: Plot a spherical point pattern

Description Usage Arguments Value

View source: R/s2plotting.R

Description

Plot a spherical point pattern of class "s2pp" in base graphics via the globe package.

Usage

1
2
3
## S3 method for class 's2pp'
plot(x, ..., add = FALSE, region = !add, longrid = 30,
  latgrid = 30)

Arguments

x

Point pattern of class "s2pp" to plot.

...

parameters passed to globe::globepoints() to control view point (eye), orientation (top), and grapical parameters such as point color (col), point size (cex), point type (pch) etc.

add

Logical to add the points to existing plot.

region

Either logical to add the boundary of the "s2region" of the point pattern or a user supplied "s2region" to which the point pattern will be restricted.

longrid

Numeric defining a grid of longitude lines to be plotted if add = FALSE. Either a vector of numbers between -180 and 180 or a single numeric used as a stepsize between consecutive longitude lines. Value of zero or NULL disables longitude lines.

latgrid

Numeric defining a grid of latitude lines to be plotted if add = FALSE. Either a vector of numbers between -90 and 90 or a single numeric used as a stepsize between consecutive latitude lines. Value of zero or NULL disables latitude lines.

Value

NULL (invisibly)


spatstat/spatstat.sphere documentation built on July 5, 2017, 11:47 p.m.