Correct complex confluences
correct_complex(net, correct = TRUE, quiet = FALSE)If correct is TRUE a sf object of rivers with complex confluences separated into two closely located valid confluences. If correct is FALSE a sf object with rivers participating in complex confluences labeled with the same number ina new "complex" column.
A river_net object.
Logical. If FALSE (default), no changes are made and
topological issues are identified only. If TRUE, issues are
automatically corrected.
Logical. If FALSE, prints the global DCI and a plot of river
segments to the console. Defaults to TRUE.