plot,SpatialLinesNetwork,ANY-method {stplanr}R Documentation

Plot a SpatialLinesNetwork

Description

Plot a SpatialLinesNetwork

Usage

## S4 method for signature 'SpatialLinesNetwork,ANY'
plot(x, component = "sl", ...)

Arguments

x

The SpatialLinesNetwork to plot

component

The component of the network to plot. Valid values are "sl" for the geographic (SpatialLines) 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(), overline_spatial(), overline(), plot,sfNetwork,ANY-method, rnet_breakup_vertices(), rnet_group(), sln2points(), sum_network_links(), sum_network_routes()

Examples

sln <- SpatialLinesNetwork(route_network)
plot(sln)
plot(sln, component = "graph")

[Package stplanr version 0.8.7 Index]