# [R] Boxplot BUT with Mean, SD, Max & Min ?

Petr PIKAL petr.pikal at precheza.cz
Tue Sep 27 07:13:43 CEST 2011

```>
> Gabor, Bill,
>
>
> On 2011-09-27 02:51, Gabor Grothendieck wrote:
> > On Mon, Sep 26, 2011 at 12:11 PM, Philip Rhoades <phil at pricom.com.au>
> > wrote:
> >> Gabor,
> >>
> >>
> >> On 2011-09-27 00:35, Gabor Grothendieck wrote:
> >>>
> >>> On Mon, Sep 26, 2011 at 9:56 AM, Philip Rhoades
> >>> <phil at pricom.com.au>
> >>> wrote:
> >>>>
> >>>> People,
> >>>>
> >>>> It appears that there is no way of getting Boxplots to plot using
> >>>> Mean,
> >>>> SD,
> >>>> Max & Min - is there something else that would do what I want?  I
> >>>> couldn't
> >>>> find it . .

<snip>

>
>
> Interesting! - I've learnt something about anscombe and sapply and
> other stuff (thanks again!) but I think I mis-spoke before.  I think
> what I want is a list of numeric vectors but when I created tarr:
>
>    tarr <- array( dim = c( 5,3 ), c( 1,2,3,4,5,2,3,4,5,6,3,4,5,6,7 ) )
>
> I couldn't get it to work with the original code . . now I have had a
> closer look at Bill's code . .
>
> On the original question though, why isn't there something "off the
> shelf" that will do what I want?  Surely, a "boxplot" using mean, SD,
> max and min would be a common enough need to justify it?

It is questionable. I use boxplots to demonstrate that underlaying data
are more or less symmetrical or deviate from symetrical (normal)
distribution. Boxplot with mean, sd are, in this respect, rather unusable.

I would call such plots differently let say "meanplot" or "centralplot" to
avoid confusion with real boxplot.

My 0.02 Kc

Regards
Petr

>
> Thanks,
>
> Phil.
>
> --
>
> GPO Box 3411
> Sydney NSW   2001
> Australia
> E-mail:  phil at pricom.com.au
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help