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? Thanks in advance, Ana Patricia Martins [[alternative HTML version deleted]]
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? Thanks in advance, Ana Patricia Martins [[alternative HTML version deleted]]
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/
When I tried: R> x <- c(5, rnorm(30)) R> boxplot(x) R> identify(x) [1] 1 (after I clicked on the obvious outlier, and R labeled it `1') it seems to work just fine. What do you mean by can't apply it boxplot? Andy From: Ana Patricia Martins> 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? > > > > Thanks in advance, > > Ana Patricia Martins > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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 > and provide commented, minimal, self-contained, reproducible code. > >