function that puts data into appropriate bins, based on the time and the binning vector the bin vector describes the edges of the bins
bin(time, values, bin.vec, bin.fun = mean)
A data.frame of (x) binned time, and (y) binned values
Other bin:
alignTimeseriesBin()
,
bin2d()
,
binEns()
,
binTs()