splitsegmentat | R Documentation |
Splits a segment at a specified vertex, creating two new segments.
splitsegmentat(seg, vert, rivers)
seg |
The segment to split |
vert |
The vertex to split it at |
rivers |
The river network object to use |
A new, updated river network object
Matt Tyers
line2network
data(Gulk)
plot(x=Gulk)
Gulk2 <- splitsegmentat(seg=1, vert=400, rivers=Gulk)
plot(x=Gulk2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.