Detects and removes segments that are not connected to the river mouth.
removeunconnected(rivers)
rivers | The river network object to use. |
---|
This function is called within cleanup, which is recommended in most cases.
#>Koy_subset_trim <- removeunconnected(Koy_subset)#>plot(Koy_subset_trim)