Adds a GPS column to a data frame by extracting timestamps from a reference ts object.
Arguments
- df
A data.frame or tibble. The data to which the GPS time will be added.
- ref.ts
A ts object. Reference time series from which GPS timestamps are extracted.
Value
A tibble identical to df but with an additional GPS column inserted after the time column.