View source: R/correlation.regression.functions.R
bin | R Documentation |
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)
time |
vector of time |
values |
vector of values to bin |
bin.vec |
vector of bin edges for describing where to bin |
bin.fun |
function to use during binning (mean, sd, and sum all work) |
A data.frame of (x) binned time, and (y) binned values
Nick McKay
Other bin:
alignTimeseriesBin()
,
bin2d()
,
binEns()
,
binTs()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.