[R] label outliers in boxplot and/or bwplot
John Fox
jfox at mcmaster.ca
Sat Feb 12 04:20:46 CET 2005
Dear Christoph,
(I don't believe that this question was answered; my apologies if it was.)
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of
> Christoph Lehmann
> Sent: Friday, February 11, 2005 8:44 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] label outliers in boxplot and/or bwplot
>
> Hi
>
> Is there a way to lable (e.g. observation-number) the
> outliers in a boxplot?
>
You can use identify() with horizontal coordinates at 1 (and at successive
integers for parallel boxplots); e.g.,
x <- c(rnorm(98), 8, 10)
boxplot(x)
identify(rep(1, 100), x)
> and in a bwplot?
>
Not to my knowledge.
I hope this helps.
John
> thanks a lot
>
> Christoph
>
>
> P.S. identify() is not available with bwplot, is it?
>
> ______________________________________________
> R-help at 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
More information about the R-help
mailing list