Plot a spatial graph

Share:

Description

Rudimentary plotting.

Usage

1
2
3
4
## S3 method for class 'sg'
plot(x, data, which = NULL, add = FALSE, addPoints = FALSE,
  points.pch = 1, points.col = 1, points.cex = 1, max.edges = 10000,
  ...)

Arguments

x

an 'sg' graph object

data

The point pattern object, same as for computing the 'g'

which

Indices of which out-edges to plot. Default: all

add

Add to existing plot? (default: FALSE)

addPoints

Add points? Will be added if add=FALSE

points.pch

point styling

points.col

point styling

points.cex

point styling

max.edges

limit of edges to try to plot, gets very slow at high count. default 1e4

...

passed to 'lines' function