is_dive_truncated: Check if a dive profile is complete or truncated

Description Usage Arguments Examples

Description

Check if a dive profile is complete or truncated

Usage

1
is_dive_truncated(x, max_diff = 5, error = FALSE)

Arguments

x

The depth sequence of a dive profile.

max_diff

The maximum depth difference tolerated between the start and the end of the dive before the dive is considered as truncated.

error

Should the function give an error if a truncated dive is encountered ?

Examples

1
2
3
4
5
## Not run: 
data(exses)
tdrply(is_dive_truncated, "depth", error = TRUE, obj = exses)

## End(Not run)

SESman/rbl documentation built on May 9, 2019, 11:10 a.m.