R/continuousTimeIntervals.R
continuousTimeIntervals.Rd
The measurements are fitted into timesteps defined be the first point of time and a temporal resolution
A POSIXct vector
A numeric vector, with data corresponding to the time_vector
Temporal resolution in minutes
Starting point (POSIXct) of the newly defined time series. By default the minimum of the time_vector
End point (POSIXct) of the newly defined time series. By default the maximum of the time_vector
Dataframe with POSIX column "t" and data column "d"
In a first step a vactor is generated with continuous timesteps, starting at first_pointOfTime by a defined time interval. Subsequently, the measured data is forced into timesteps with a similar time interval. Here, the measurements are assigned to the timestep that is closest to the actual time of measurements. If more than one measurement are assigned to one timestep, the average is used. If there is no measurement, NA is used.