checkbraidedTF {riverdist} | R Documentation |
Check for Braiding in a River Network
Description
Detects braiding (multiple flow channels between two locations) within a river network object, and returns a logical value for specifying braiding within a river network object.
Usage
checkbraidedTF(rivers, toreturn = "rivers", progress = TRUE)
Arguments
rivers |
The river network object to check. |
toreturn |
Specifying |
progress |
Whether to show the progress bar. Defaults to |
Note
This function is called within cleanup, which is recommended in most cases.
Author(s)
Matt Tyers
Examples
data(Gulk,KilleyW)
Gulk <- setmouth(seg=1, vert=1, rivers=Gulk)
plot(x=Gulk)
checkbraidedTF(rivers=Gulk, toreturn="logical")
KilleyW <- setmouth(seg=1, vert=288, rivers=KilleyW)
plot(x=KilleyW)
checkbraidedTF(rivers=KilleyW, toreturn="logical")
checkbraidedTF(rivers=KilleyW, toreturn="routes")
KilleyW.1 <- checkbraidedTF(rivers=KilleyW, toreturn="rivers")
str(KilleyW.1)