View source: R/process_gps_data_into_gps_epochs.R
assign_epoch_start_time | R Documentation |
Assign Epoch Start Time
assign_epoch_start_time(gps_data, epoch_length)
gps_data |
A data frame with GPS data including a column of timestamps and columns for latitude and longitude |
epoch_length |
The duration of an epoch in seconds |
Selects the closest 30 second increment to assign epoch start time and takes the GPS coordinates associated with the latest time if there are multiple GPS data points in a given 30 second increment. This function returns a data frame of GPS data with a column of epoch times.
A data frame of GPS data with an additional column indicating epoch start time
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.