fit_adl: Fit a behavioral aerobic dive limit model to dive data

Description Usage Arguments Value Examples

View source: R/fit.R

Description

Roughly following the methods of Horning (2012), fit_adl() searches for a duration beyond which the post-dive recovery increases.

Usage

1
fit_adl(x, n_dives = 1, nofeeding = TRUE)

Arguments

x

dive data with dives/breaths identified (see find_breaths_dives())

n_dives

number of dives to average durations and breaths over

nofeeding

if true, removes dives with lunges

Value

a list with the aerobic dive limit (ADL), quantile regressions left and right of the ADL, whether it passes the continuity requirement, the original dive data, and the n_dives and nofeeding parameter values.

Examples

1
2

FlukeAndFeather/breath documentation built on April 25, 2020, 3:15 a.m.