round_xy.Rd
Given a dataframe of x and y values (with some optional confidence intervals surrounding the y values), return only the unique values of x and y in some set of 2-d bins.
round_xy(x, y, cl = NA, cu = NA, roundby = 0.001)
Numeric vector. The first vector for binning.
Numeric vector. the second vector for binning
Numeric vector. Optional confidence interval for the y vector, lower bound.
Numeric vector. Optional confidence interval for the y vector, upper bound.
Numeric. The amount to round the x and y vectors by for 2d binning.
A dataframe containing the 2-d binned values for x and y, and their confidence intervals.