[R] boxplot

Paul Murrell p.murrell at auckland.ac.nz
Wed Aug 2 04:10:16 CEST 2006


Hi


Ana Patricia Martins wrote:
> Hello R-users and developers,
> 
>  
> 
> Once again, I'm asking for your help.
> 
> I've used "identify" to identify points in a scatter plot. However, I can't
> apple in the boxplot.....
> 
>  
> 
> I need to identify the outlier's id in the boxplot. Can anyone help me?


The box for the i'th group is at x-location 'i' so ...

boxplot(count ~ spray, data = InsectSprays, col = "lightgray")
with(InsectSprays, identify(unclass(spray), count))

Paul
-- 
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/



More information about the R-help mailing list