removeunconnected | R Documentation |
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.
Matt Tyers
data(Koyukuk2)
Koy_subset <- trimriver(trimto=c(30,28,29,3,19,27,4),rivers=Koyukuk2)
Koy_subset <- setmouth(seg=1,vert=427,rivers=Koy_subset)
plot(Koy_subset)
Koy_subset_trim <- removeunconnected(Koy_subset)
plot(Koy_subset_trim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.