View source: R/calculateChannelMorphology.R
This function joins the extra side channel transects with the parallel transect. Each measurement on the main channel is joined with the parallel measurement on the side channel using an aggregation function. All measurements done at the transect (rather than at a station) are assumed to be at station 0 for purposes this function. This allows us to do the join in one pass rather than separately.
1 | joinExtraTransects(uid, transect, wetwid, bankwid, bankhgt, incishgt)
|
1 2 | d <- data.frame(uid = c(1,1), transect = c('A', 'XA'), wetwid = 1:2, bankwid = 1:2, bankhgt = 1:2, incishgt = 1:2)
do.call('joinExtraTransects', d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.