View source: R/graph_functions_sf.R
direct_lines | R Documentation |
Function to create complementary lines for a directed network.
direct_lines(lines, direction)
lines |
The original feature collection of linestrings |
direction |
A vector of integers. 0 indicates a bidirectional line and 1 an unidirectional line |
A feature collection of linestrings with some lines duplicated according to direction
#This is an internal function, no example provided
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.