View source: R/add_event_times.R
add_event_times | R Documentation |
Add time (in seconds since tagon or datetimes in UTC and/or local timezone) to a tibble or data-frame with event times (conversion between datetime and seconds_since_tagon formats)
add_event_times(x, start_x, tagon_time)
x |
input data frame: vector, tibble, or data frame. There should be one column that gives either seconds_since_tagon or UTC time already present. |
start_x |
name of the variable in x that gives the times |
tagon_time |
string giving the tag recording start time (or the |
The input x
, but with additional column(s) sec_since_tagon with times in seconds since start of tag recording or utc_time (plus optionally local_time). Note, this function adds UTC times; if you want local times in addition, consider using utc_to_local
after this function.
# # Examples will go here
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.