bottom_delim_bsm: Delimitate bottom phase of dive using brokenstick models

Description Usage Arguments Examples

Description

The bottom is defined as the dive period between the first brokenstick segment (descent) and the last brokenstick segment (ascent).

Usage

1

Arguments

time

time readings, sorted in chronological order.

depth

depth readings, sorted in chronological order.

pts

The number of points to use in the brokenstick model. The default (npts = 6) is used by CTD-SRDL tags (Sea Mammal Research unit, St Andrews University) to summarize dive profiles.

Examples

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

n <- 65
idx <- tdrply(bottom_delim_bsm, 1: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 May 9, 2019, 11:10 a.m.