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
[EMAIL PROTECTED]
http://www.stat.auckland.ac.nz/~paul/

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to