Description Usage Arguments Details Examples
Uses the transect to get the main channel from a transect potentially covering multiple channels. Also provides other useful info, like width to banks.
1 | get_main_channel(transect, return_all = FALSE)
|
transect |
depth values along a transect |
return_all |
use it to return the indices of transects where the main channel begins and ends |
This function is not perfect! Sometimes the widest channel may not be the main channel. Can we discriminate based on how deep the channel is? With the current method, there is going to be some error associated with misclassification of the main channel. plot(transect[wide.ch.ind], main = "2", type= "l") plot(transect[wide.ch.ind1], main = "1", type= "l") summary(transect[wide.ch.ind]) summary(transect[wide.ch.ind1])
1 | get_main_channel(transect)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.