bottom_delim_std: Delimitate bottom phase of dive using depth threshold

Description Usage Arguments Examples

View source: R/funs_delim.r

Description

Classic bottom delimitation method that defines bottom as the period between the first and last passage at a depth specified as a percentage of the maximum depth in the dive.

Usage

1
bottom_delim_std(depth, ledge = 0.8)

Arguments

depth

depth readings, sorted in chronological order.

ledge

depth threshold, specified as a percentage which is compared to the maximum depth.

Examples

1
2
3
4
5
6
7
data(exses)
ind(exses)

n <- 65
idx <- tdrply(bottom_delim_std, 2, "!_/", no = n)[[1]]
tdrply(plot, 1:2, "!_/", no = n, main = n)
tdrply(function(x, st, ed, ...) points(x[st:ed, ]), 1:2, no = n, la = idx)

SESman/rbl documentation built on June 24, 2017, 8:48 a.m.