plot_adl: Plot an aerobic dive limit model

Description Usage Arguments Value Examples

View source: R/viz.R

Description

After fitting an aerobic dive limit (ADL) model using fit_adl(), plot_adl() visualizes the ADL, the quantile regressions, and their intersection.

Usage

1
plot_adl(fitted_adl, ylim = c(0, 25))

Arguments

fitted_adl

an ADL model (see fit_adl())

ylim

number of breaths to limit the y-axes (0-25 by default)

Value

a ggplot object with post-dive breath counts plotted against dive duration superimposed with the ADL and the intersecting quantile regression lines.

Examples

1
2

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