Description Usage Arguments Value References Examples
Extract water column segments of a given parameter from a profile using the split-and-merge algorithm.
1 2 | wtr_segments(thres = 0.1, z0 = 2.5, zmax = 150, depth = depth,
measure = measure, nseg = "unconstrained")
|
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 |
a dataframe of nseg (number of segments) and the x and y coordinates of the segments produced by the split and merge approach.
Thomson & Fine. 2003. Estimating Mixed Layer Depth from Oceanic Profile Data. Journal of Atmospheric and Oceanic Technology. 20(2), 319-329.
1 2 | wtr_segments(depth=latesummer$depth, measure = latesummer$temper)
wtr_segments(depth=latesummer$depth, measure = latesummer$temper, nseg=4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.