set_dives | R Documentation |
Associate dives based on start and end timestamps.
set_dives(x, dive_ranges)
x |
'track' object. |
dive_ranges |
A data.frame or data.table with columns:
|
This function will overwrite the dives column based on timestamps of start and end. Any point not contained in the interval of the new dives will be removed. This function is useful when working with tracks that are not separated by dives originally, of if you wish to crop a dive in multiple transects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.