Plot an sfNetwork

# S4 method for sfNetwork,ANY
plot(x, component = "sl", ...)

Arguments

x

The sfNetwork to plot

component

The component of the network to plot. Valid values are "sl" for the geographic (sf) representation or "graph" for the graph representation.

...

Arguments to pass to relevant plot function.

See also

Examples

sln_sf <- SpatialLinesNetwork(route_network_sf)
plot(sln_sf)