How to use ggplot to do the binned quantile plots(one type of scatter plot)?

Hi all,

I have done scatter plot: plot(x, y).

Now I wanted to do binned quantile plots... can ggplot2 help me?

For example, we bin x data into 10 bins.

For each bin, we draw the 10 deciles of the corresponding y data in that
bin as points/dots.

And then accross all bins, we would like to connect the corresponding
decile points/dots together(something like equi-quantile or equi-decile
curves)...

How do I do that in R or ggplot2? Is there an existing function/command
that can do this?

Thanks a lot!

        [[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