[R] overlay boxplot

Hao Liu hao.liu at bms.com
Tue Jul 10 16:54:31 CEST 2007


Thanks... I just realized using add=TRUE will work...
Best
Hao

hadley wickham wrote:

> You will get more useful answers if you specify exactly how you want
> to overlay the boxplots (overlay them on what?).  You can certainly do
> this with the ggplot2 package, or lattice or base graphics.
>
> Hadley
>
> On 7/10/07, Hao Liu <hao.liu at bms.com> wrote:
>
>> hi, All:
>>
>> I need to overlay two boxplot, I played around with points() but found
>> it does not seem to work with boxplot, it works fine with other. Is
>> there a way to overlay two boxplot (using different color) in R?
>>
>> There was a thread talking about using ggplot package, however, I don't
>> think there is a final solution... the answer give does not give overlay
>> but a new plot.
>>
>> Thanks
>> Hao
>>
>> ______________________________________________
>> R-help at stat.math.ethz.ch 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.
>>



More information about the R-help mailing list