How to stack these subplots horizontally and vertically together in a nice
way?

Thank you!

On Wed, Mar 14, 2012 at 11:04 AM, Clint Bowman <cl...@ecy.wa.gov> wrote:

> ?quantile on the individual bins, make your deciles, then plot the ten
> series as usual with your x values at the midpoint of the bins.
>
> Clint Bowman                    INTERNET:       cl...@ecy.wa.gov
> Air Quality Modeler             INTERNET:       cl...@math.utah.edu
> Department of Ecology           VOICE:          (360) 407-6815
> PO Box 47600                    FAX:            (360) 407-7534
> Olympia, WA 98504-7600
>
>        USPS:           PO Box 47600, Olympia, WA 98504-7600
>        Parcels:        300 Desmond Drive, Lacey, WA 98503-1274
>
>
> On Wed, 14 Mar 2012, David Winsemius wrote:
>
>
>> On Mar 14, 2012, at 11:33 AM, Michael wrote:
>>
>> How to use ggplot to do the binned quantile plots(one type of scatter
>>> plot)?
>>>
>>
>> More like a quantile regression 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?
>>>
>>
>> I'm not aware of it if there is. But I agree that it can be a very
>> informative display of data.  I do such plots on data structures generated
>> using tapply with age, sex categories and quantile() to generate a value.
>> It gets kind of hairy with the list structure that results but if you have
>> a more simple data situation it will probably be more straightforward, and
>> you should post it.
>>
>>        [[alternative HTML version deleted]]
>>>
>>
>> And you should learn to post in plain text
>>
>> PLEASE do read the posting guide http://www.R-project.org/**
>>> posting-guide.html <http://www.r-project.org/posting-guide.html>
>>>
>>
>> And you should read the Posting Guide.
>>
>> and provide commented, minimal, self-contained, reproducible code.
>>>
>>
>>
>> And I already said that.
>>
>> --
>>
>> David Winsemius, MD
>> West Hartford, CT
>>
>> ______________________________**________________
>> R-help@r-project.org mailing list
>> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
>>
>> PLEASE do read the posting guide http://www.R-project.org/**
>> posting-guide.html <http://www.r-project.org/posting-guide.html>
>> and provide commented, minimal, self-contained, reproducible code.
>>
>

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