cline_calc: Calculate cline of series of segments

Description Usage Arguments Value References See Also

View source: R/sm-utils.R

Description

Cline depth is defined as the midpoint of the segment connecting inflection points that has the maximum slope. A cline cannot occur over a depth range of less than 1m and also cannot be the shallowest segment. Violating both conditions will thrown warnings though this function handles both differently. Used mostly with wtr_layer

Usage

1
cline_calc(z_seg = z_seg, sigma_seg = sigma_seg)

Arguments

z_seg

depth in metres; should be an increasing vector

sigma_seg

parameter measured in the water column profile

Value

the depth of the cline

References

Fiedler, Paul C. Comparison of objective descriptions of the thermocline. Limnology and Oceanography: Methods 8.6 (2010): 313-325.

See Also

wtr_layer()


GLEON/rLakeAnalyzer documentation built on May 3, 2021, 1:32 p.m.