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?
See ?names
Second, how could I adjust the boxplot to see the names of the outliers in the graphic instead of the points?
See ?boxplot Example: x <- c(1:10, 100) names(x) <- letters[1:11] bp <- boxplot(x) text(1, bp$out, names(x)[bp$out==x], pos=2)
cheers -- 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@r-project.org 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.
______________________________________________ R-help@r-project.org 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.