calculatePool: Determine which depths in a vector of depths represent pools

Description Usage Arguments

Description

Determine which depths in a vector of depths represent pools and return information about them. A residual pool is any area in a pool that holds water when the discharge is 0.

Usage

1
2
calculatePool(distance, depth, slope, uid = NULL, convert.stack = F,
  pool.only = F)

Arguments

distance

a vector of cumulative distance for the thalweg profile

depth

a vector of thalweg profile depths

slope

the average site slope; if uid is passed this is expected to be a vector as long as the other arguments. Otherwise it may be a length 1 numeric.

uid

a vector of site identifiers: pools are calculated separately for each site

convert.stack

logical, if TRUE the slope is converted using the formula of Stack (1988).

pool.only

logical, if TRUE, any nonpool points are removed from the data.frame that is returned.


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