network.vertex.Rdnetwork.vertex adds one or more vertices (drawn using
polygon) to a plot.
network.vertex(
x,
y,
radius = 1,
sides = 4,
border = 1,
col = 2,
lty = NULL,
rot = 0,
lwd = 1,
...
)a vector of x coordinates.
a vector of y coordinates.
a vector of vertex radii.
a vector containing the number of sides to draw for each vertex.
a vector of vertex border colors.
a vector of vertex interior colors.
a vector of vertex border line types.
a vector of vertex rotation angles (in degrees).
a vector of vertex border line widths.
Additional arguments to polygon
None
network.vertex draws regular polygons of specified radius and number
of sides, at the given coordinates. This is useful for routines such as
plot.network, which use such shapes to depict vertices.
network.vertex is a direct adaptation of
gplot.vertex from the sna package.
Butts, C. T. (2008). “network: a Package for Managing Relational Data in R.” Journal of Statistical Software, 24(2). doi:10.18637/jss.v024.i02