clockDRIFT | R Documentation |
Adjust time for clock drift
clockDRIFT(time, start, end)
time |
a vector of POSIXct times. |
start |
new start time as POSIXct. |
end |
new end time as POSIXct. |
Linearly rescale a sequence of dates to a new start and end time to correct for clock drift in the tag.
#dates = hoopoe$magnetic$date #drift = 12 #adjusted_end = as.POSIXct(dplyr::last(hoopoe$magnetic$date) + 12*60, tz="UTC") #drift_corrected = clockDRIFT(time = dates, # start= dates[1], # end = adjusted_end)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.