formatDives | R Documentation |
Function that takes a subset of variables and do some recoding and dive removal for filtering purposes
formatDives(Data)
Data |
an object of class daata.frame |
This functions keeps the variables needed to apply the subsequents
procedures of this package. It will make the Date of class
POSIXct
if supplied as a factor and will make the
ref
(id of the tag) of type character. It also sorts the
rows by ref
and by Date
. It also removes any
duplicated dive and those not reaching 100 meter depth and shorter
than 300 seconds.
a data.frame containing a subset of the variables needed to keep processing the data.frame
data(ele)
formatDives(ele)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.