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 [EMAIL PROTECTED] wrote:
hi, All:
I need to overlay two boxplot, I
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
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
I am trying to make a box plot and overlay it with a scatter plot from
another data.frame. I was able to successfully create the boxplot, but
when i tried using points(x~y...) the dots did not show up.
example code
aa-(300,300,300,300,600,600,600,600,900,900,900,900)
Hi
your example code is not reproducible.
On 1 Aug 2006 at 8:09, Lanre Okusanya wrote:
Date sent: Tue, 1 Aug 2006 08:09:38 -0400
From: Lanre Okusanya [EMAIL PROTECTED]
To: R-help@stat.math.ethz.ch
Subject:[R] Overlay Boxplot
Okusanya wrote:
Date sent: Tue, 1 Aug 2006 08:09:38 -0400
From: Lanre Okusanya [EMAIL PROTECTED]
To: R-help@stat.math.ethz.ch
Subject:[R] Overlay Boxplot with scatter plot
I am trying to make a box plot and overlay
boxplot does not use the actual values of aa as x-value, but considers
aa as a factor having three levels.
Try
bxp - boxplot(bb~aa, data=nn)
bxp
to see what the boxplot actually is.
For your lines you should also use three levels.
aa2-c(1,1,1,1,2,2,2,2,3,3,3,3,3,3,3)
points(cc~aa2)
(after
code is not reproducible.
On 1 Aug 2006 at 8:09, Lanre Okusanya wrote:
Date sent: Tue, 1 Aug 2006 08:09:38 -0400
From: Lanre Okusanya [EMAIL PROTECTED]
To: R-help@stat.math.ethz.ch
Subject:[R] Overlay Boxplot