powered by
Splits a segment at a specified vertex, creating two new segments.
splitsegmentat(seg, vert, rivers)
A new, updated river network object
The segment to split
The vertex to split it at
The river network object to use
Matt Tyers
line2network
data(Gulk) plot(x=Gulk) Gulk2 <- splitsegmentat(seg=1, vert=400, rivers=Gulk) plot(x=Gulk2)
Run the code above in your browser using DataLab