bin_data2: Bin data into longer windows
Description
Bin minute level data into different time resolutions
Usage
bin_data2(x = x, window = 1, method = c("average", "sum"))
Arguments
window
window size used to bin the original 1440 dimensional data into. Window size
should be an integer factor of 1440
method
character
of "sum" or "average", function used to bin the data
Value
a vector of binned data