View source: R/spectrace_regularise_data.R
spectrace_regularise_data | R Documentation |
This function fills in gaps in a data frame containing time series data.
spectrace_regularise_data(
lightData,
timeVar,
sampling_int = NULL,
startVar = NULL,
endVar = NULL
)
lightData |
(Grouped) data to be regularised. |
timeVar |
Column containing the time data. Can be POSIXct or numeric. |
sampling_int |
Numeric. Sampling interval (in seconds if 'timeVar' is POSIXct). If not specified, the minimum difference between consecutive rows of 'timeVar' is used (default). |
startVar |
Column indicating the start of the interval to be regularised. Can be POSIXct or numeric. If not specified, the first element of the 'timeVar' vector will be taken (default). |
endVar |
Column indicating the end of the 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.