regularize_vpts {bioRad} | R Documentation |
vpts
) on a
regular time gridProjects objects of class vpts
on a regular time grid
regularize_vpts( ts, interval = "auto", date_min, date_max, units = "secs", fill = FALSE, verbose = TRUE, keep_datetime = FALSE )
ts |
An object inheriting from class |
interval |
Time interval grid to project on. When ' |
date_min |
Start time of the projected time series, as a POSIXct object.
Taken from |
date_max |
End time of the projected time series, as a POSIXct object.
Taken from |
units |
Optional units of |
fill |
Logical, whether to fill missing timesteps with the values of the closest neighboring profile. |
verbose |
Logical, when |
keep_datetime |
Logical, when |
Irregular time series of profiles are typically aligned on a regular time grid with the expected time interval at which a radar provides data. Empty profiles with only missing data values will be inserted at time stamps of the regular time grid that have no matching profile in the irregular time series.
In plots of regular time series (see plot.vpts
) temporal gaps of
missing profiles (e.g. due to radar down time) become visible. In irregular
time series data points in the plot are carried through until the time series
continues, and temporal data gaps are filled up visually.
An object of class vpts
with regular time steps.
# start form example vpts object: data(example_vpts) ts <- example_vpts # regularize the time series on a 5 minute interval grid tsRegular <- regularize_vpts(ts, interval = 300)