split_dives | R Documentation |
Split dive profile into dives
split_dives(dt, depth, surface = 0, min_depth = 0, min_dur = 0)
dt |
Datetime (POSIXct) |
depth |
Depth (numeric) |
surface |
Threshold for surface activity (numeric(1)) |
min_depth |
Minimum depth for a dive (numeric(1)) |
min_dur |
Minimum duration of a dive (numeric(1), in seconds) |
A factor, the same length as depth
, with levels corresponding
to individual dives. Inter-dive periods marked as NA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.