Converts a line segment pattern to a linear network.
Line segment pattern (object of class
Optional. Distance threshold. If two segment endpoints
are closer than
Logical value indicating whether to use a sparse matrix
representation, as explained in
This command converts any collection of line segments into a linear
network by guessing the connectivity of the network,
using the distance threshold
If any segments in
X cross over each other, they are first
cut into pieces using
Then any pair of segment endpoints lying closer than
units apart, is treated as a single vertex. The linear network
is then constructed using
It would be wise to check the result by plotting the degree of each vertex, as shown in the Examples.
X has marks, then these are stored in
the resulting linear network
Y <- as.linnet(X),
and can be extracted as
A linear network (object of class
1 2 3 4 5 6 7 8 9 10 11
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.