View source: R/summ-residence_index.r
total_diff_days | R Documentation |
The difference is determined by the minimal first_detection of every detection and the maximum last_detection of every detection. Both are converted into a datetime then subtracted to get a timedelta. The timedelta is converted to seconds and divided by the number of seconds in a day (86400). The function returns a floating point number of days (i.e. 503.76834).
total_diff_days(detections)
detections |
- data frame pulled from the compressed detections CSV |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.