add_expo | R Documentation |
Add exposure columns to DTag data frame
add_expo(data, expo)
data |
Data frame, at least with columns 'tagID', 'ID' (dive ID), and 'time' |
expo |
Data frame with one row for each exposure event, and one column each for 'tagID', 'start' and 'end' |
Input data frame with additional columns for
expoeither 'before', 'during' or 'after' (an exposure event)
expo_dive'yes' for exposure dives, 'no' for other dives
expo_timetime since start of exposure (0 before)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.