Re: [R] Boxplot in R

From: Adaikalavan Ramasamy <ramasamy_at_cancer.org.uk>
Date: Mon 11 Jul 2005 - 12:04:44 EST

Just an addendum on the philosophical aspect of doing this.

By selecting the 5% and 95% quantiles, you are always going to get 10% of the data as "extreme" and these points may not necessarily outliers. So when you are comparing information from multiple columns (i.e. boxplots), it is harder to say which column contains more extreme value compared to others etc.

Regards, Adai

On Sun, 2005-07-10 at 18:10 -0500, Larry Xie wrote:
> I am trying to draw a plot like Matlab does:
>
> The upper extreme whisker represents 95% of the data;
> The upper hinge represents 75% of the data;
> The median represents 50% of the data;
> The lower hinge represents 25% of the data;
> The lower extreme whisker represents 5% of the data.
>
> It looks like:
>
> --- 95%
> |
> |
> ------- 75%
> | |
> |-----| 50%
> | |
> | |
> ------- 25%
> |
> --- 5%
>
> Anyone can give me some hints as to how to draw a boxplot like that?
> What function does it? I tried boxplot() but couldn't figure it out.
> If it's boxplot(), what arguments should I pass to the function? Thank
> you for your help. I'd appreciate it.
>
> Larry
>
> ______________________________________________
> 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
>



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 Mon Jul 11 12:12:30 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:27 EST