stplanr (version 0.3.1)

plot,sfNetwork,ANY-method: Plot an sfNetwork

Description

Plot an sfNetwork

Usage

# 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

Other rnet: SpatialLinesNetwork, calc_catchment_sum, calc_catchment, calc_moving_catchment, calc_network_catchment, find_network_nodes, gsection, islines, lineLabels, overline2, overline, plot,SpatialLinesNetwork,ANY-method, sln2points, sum_network_links, sum_network_routes

Examples

Run this code
# NOT RUN {
sln_sf <- SpatialLinesNetwork(route_network_sf)
plot(sln_sf)
# }

Run the code above in your browser using DataLab