Aggregate data from a timeseries object into the same timeline through binning.
binTs( TS, time.var = "ageEnsemble", bin.vec, bin.fun = mean, max.ens = 1000, na.col.rm = TRUE )
LiPD timeseries object See http://nickmckay.github.io/LiPD-utilities/r/index.html#what-is-a-time-series
specify the time variable to bin (default = "ageEnsemble")
vector of bin edges for describing where to bin
function to use during binning (mean, sd, and sum all work)
Maximum number of ensemble members.
Remove columns that are all NAs? (TRUE or FALSE)
A list of binned years and values.