joinExtraTransects: Join extra side channel transects

Description Usage Examples

View source: R/calculateChannelMorphology.R

Description

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.

Usage

1
joinExtraTransects(uid, transect, wetwid, bankwid, bankhgt, incishgt)

Examples

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)

jasonelaw/nrsa documentation built on Nov. 8, 2019, 11:34 a.m.