Re: [R] Impaired boxplot functionality - mean instead of median

From: Evgeniy Kachalin <ka4alin_at_yandex.ru>
Date: Fri 02 Dec 2005 - 09:42:45 EST

Frank E Harrell Jr пишет:
> Evgeniy Kachalin wrote:
>

>> Marc Schwartz (via MN) пишет:
>>
>>>> Marc Schwartz (via MN) пишет:

>>

>
> library(Hmisc)
> library(lattice)
> ?panel.bpplot
>
> bwplot(...., panel=panel.bpplot)
>
> By default, panel.bpplot shows the mean (dot) and median (line) plus
> several quantiles. To bother Martin in a friendly way, I think that
> means can be useful additions - not that they are so useful by
> themselves, but that when they differ a lot from the median,
> non-statisticians gain further information about asymmetry. Also, even
> though the simple box plot is elegant, I sometimes think it has a high
> ink to information ratio. I have gained a lot from seeing outer
> quantiles on the plot, and I don't like to show outer points for fear of
> someone labeling them outliers. For describing raw data distributions,
> I never find standard deviations useful, however.
>

=> fa

      doz fabp2
1    900     2
4   1500     2
6   1000     2
8    750     3
10   750     1
11  1750     2
12   500     3
....
....

....
....

 > bwplot(doz~factor(fabp2),data=fa,panel=panel.bpplot) Error in sort(x, partial = unique(c(lo, hi))) :

         unsupported options for partial sorting

That's NOT simple way.

I need just one change.
Is there any good way?
$-(

--
Evgeniy



R-help@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 Received on Fri Dec 02 09:51:04 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:25 EST