direct_lines {spNetwork} | R Documentation |
Make a network directed
Description
Function to create complementary lines for a directed network.
Usage
direct_lines(lines, direction)
Arguments
lines |
The original feature collection of linestrings |
direction |
A vector of integers. 0 indicates a bidirectional line and 1 an unidirectional line |
Value
A feature collection of linestrings with some lines duplicated according to direction
Examples
#This is an internal function, no example provided
[Package spNetwork version 0.4.4.6 Index]