simpleBinTs.Rdsimple binning of a lipd_ts object paleoData_values using a nearest neighbor approach
a lipd_ts object
vector of time boundaries over which to bin
specify the name the time variable (typically 'age' or 'year')
should values be interpolated between bins? (TRUE/FALSE)
if newAge is not supplied, what is the desired resolution of the spread values? If NA, the minimum age gap divided by 5 will be used
a limit to how many years a value can be interpolated across (given in years). If NA, no limit is imposed.
Force values to gaussian distribution before analysis (TRUE/FALSE)
multiply values by -1 if scope_interpDirection == negative (TRUE/FALSE)
the scope of the project (typically "climate" (default) or "isotope")
numeric vector of values of equal length to binvec