Creates a data frame with fitted time column and corresponding average data values.

aggregate_measurements(time_vector, data_vector, time_interval = 60 * 15)

Arguments

time_vector

A POSIXct vector

data_vector

A numeric vector, with data corresponding to the time_vector

time_interval

Temporal resolution in seconds

Value

Data frame with POSIX time column "t" and data column "d