Usage
## S3 method for class 'sg':
plot(x, pp, add=TRUE, which=NULL, directed=0, add.points=FALSE,
points.col="black", points.pch=1, points.cex=1, lines.col="gray30", ...)
Arguments
x
spatgraph/spatcluster object
add
Add the lines to an existing plot (such as plot(pp)
) or draw a new plot.
which
Vector of indices or a Boolean vector of size n
: Draw only edges starting at these points.
directed
Draw arrows with this size. If 0, no arrows.
add.points
Should we draw the points after the lines are drawn. Uses points
, only 2D.
points.col
Color(s) for the points if they are added.
points.pch
Plotting character for points if they are added.
points.cex
Plotting size of point character if points are added.
lines.col
Color(s) for the lines.
...
line size etc. for corresponding function (lines
, arrows
, rgl.lines
).