Hi all,

I am trying hard to do the following and have already spent a few hours in
vain:

I wanted to do the scatter plot.

But given the high dispersion on those dots, I would like to bin the x-axis
and then for each bin of the x-axis, plot the quantiles of the y-values of
the data points in each bin:

1. Uniform bin size on the x-axis;
2. Equal number of observations in each bin;

How to do that in R? I guess for the sake of prettyness, I'd better do it
in ggplot2?

Thank you!

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to