View source: R/regularise_time.R
regularise_time | R Documentation |
This function fills in gaps in a (date)time vector and returns an equally spaced (date)time vector.
regularise_time(timeVar, sampling_int, start = NULL, end = NULL)
timeVar |
Vector containing the time data. Can be POSIXct or numeric. |
sampling_int |
Numeric. Sampling interval (in seconds if 'timeVar' is POSIXct). |
start |
Start of interval to be regularised. Can be POSIXct or numeric. If not specified, the first element of the 'timeVar' vector will be taken (default). |
end |
End of interval to be regularised. Can be POSIXct or numeric. If not specified, the last element of the 'timeVar' vector will be taken (default). |
Regularised time data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.