calculateLittoralDepth: Calculate non-wadeable littoral depth metrics

Description Usage Arguments Examples

View source: R/calculateLittoralDepth.r

Description

calculateLittoralDepth calculates the non-wadeable littoral depth metrics. There are two different implementations that vary primarily in speed. calculateLittoralDepth is faster although the implementation is somewhat more obtuse. calculateLittoralDepth2 uses ddply and is fairly simple.

Usage

1

Arguments

uid

a vector of site-visit indicators

depth

a vector of depth measurements (with the same units)

Examples

1
2
calculateLittoralDepth(uid = rep(1:10, each = 10), depth = rnorm(100))
calculateLittoralDepth(uid = rep(1, 5), depth = rep(NA, 5))

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