[R] Plot Data Points in boxplots
Gabor Grothendieck
ggrothendieck at gmail.com
Thu Sep 29 02:34:00 CEST 2005
Is this any better? For more along these lines, check out ?bxp for
numerous options which are accepted by boxplot, not just bxp:
boxplot(Sepal.Length ~ Species, iris,
boxcol = 1, medcol = 2, whiskcol = 0, staplecol = 4, outcol = 0,
boxfill = "wheat", boxlty = 0)
with(iris, stripchart(Sepal.Length ~ Species, vertical = TRUE, add = TRUE))
On 9/28/05, Aric Gregson <aorchid at mac.com> wrote:
> --On 9/27/05 8:55 PM -0400 Gabor Grothendieck sent:
>
> > Try this:
> >
> > boxplot(Sepal.Length ~ Species, iris)
> > with(iris, stripchart(Sepal.Length ~ Species, vertical = TRUE, add =
> > TRUE))
>
> Thanks very much for the hint. I did something very similar with decent
> results. The only problem I am having now is that I cannot figure out
> how to make stripchart plot without a box or axis. Alternatively, I can
> use DOTplot from UsingR, but I cannot find out how to rotate it for
> vertical.
>
> thanks,
>
> aric
>
> > On 9/27/05, Aric Gregson <aorchid at mac.com> wrote:
> >> Hello,
> >>
> >> I would like to plot my data in a fashion similar to a boxplot, but
> >> plot the true data points without a box, just overlay lines of the
> >> summary generated by the boxplot.
>
>
>
>
>
More information about the R-help
mailing list