Plot the geometries of an object of class sfnetwork
.
# S3 method for sfnetwork
plot(x, draw_lines = TRUE, ...)
Object of class sfnetwork
.
If the edges of the network are spatially implicit, should
straight lines be drawn between connected nodes? Defaults to TRUE
.
Ignored when the edges of the network are spatially explicit.
Arguments passed on to plot.sf
This is a basic plotting functionality. For more advanced plotting,
it is recommended to extract the nodes and edges from the network, and plot
them separately with one of the many available spatial plotting functions
as can be found in sf
, tmap
, ggplot2
, ggspatial
,
and others.