wtr_segments: Exploration of lake water column segments

Description Usage Arguments Value References Examples

Description

Extract water column segments of a given parameter from a profile using the split-and-merge algorithm.

Usage

1
2
wtr_segments(thres = 0.1, z0 = 2.5, zmax = 150, depth = depth,
  measure = measure, nseg = "unconstrained")

Arguments

thres

error norm; defaults to 0.1

z0

initial depth in metres; defaults to 2.5

zmax

maximum depth in metres: default to 150m

depth

depth in metres; should be an increasing vector

measure

parameter measured in the water column profile

nseg

optional parameter to define the number of segments a priori; defaults to an unconstrained approach whereby the algorithm determines segmentations by minimzing the error norm over each segment

Value

a dataframe of nseg (number of segments) and the x and y coordinates of the segments produced by the split and merge approach.

References

Thomson & Fine. 2003. Estimating Mixed Layer Depth from Oceanic Profile Data. Journal of Atmospheric and Oceanic Technology. 20(2), 319-329.

Examples

1
2
wtr_segments(depth=latesummer$depth, measure = latesummer$temper)
wtr_segments(depth=latesummer$depth, measure = latesummer$temper, nseg=4)

boshek/limnotools documentation built on May 13, 2019, 12:36 a.m.