View source: R/enforce_dendritic.R
correct_divergences | R Documentation |
Correct river divergences
correct_divergences(net, correct = TRUE, quiet = FALSE)
net |
A |
correct |
A logical value, when |
quiet |
A logical value indicating whether the global DCI and a map of segments should be printed to the console. Defaults to TRUE. |
If correct is TRUE
a river_net
object with the shorter of each divergent pair removed. If correct is FALSE
a sf
object with divergent pairs identified with a shared number in the new "divergent" column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.