[R] Boxplot graphic
ligges at statistik.tu-dortmund.de
Wed Jul 25 15:08:07 CEST 2012
On 25.07.2012 13:26, phillen wrote:
> Dear R-users!
> I boxplotted some data. the class of the data is numeric. There are some
> outliers and I would like to see their names in the graphic. So, instead
> that the data points of the outliers are plotted as points, I would like to
> have their names plotted.
> First of, how can I give my data series (class numeric) names?
> Second, how
> could I adjust the boxplot to see the names of the outliers in the graphic
> instead of the points?
x <- c(1:10, 100)
names(x) <- letters[1:11]
bp <- boxplot(x)
text(1, bp$out, names(x)[bp$out==x], pos=2)
> View this message in context: http://r.789695.n4.nabble.com/Boxplot-graphic-tp4637761.html
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help