Learn R Programming

rLakeAnalyzer (version 1.11.4.1)

cline_calc: Calculate cline of series of segments

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

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()