[R] Boxplot graphic

John Fox jfox at mcmaster.ca
Wed Jul 25 15:05:18 CEST 2012


Dear phillen,

You can use the identify() command following boxplot() to identify outliers, or more simply, the Boxplot() function in the car package, which will do this for you (see the first example in ?Boxplot).

I hope this helps,
 John

------------------------------------------------
John Fox
Sen. William McMaster Prof. of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/

On Wed, 25 Jul 2012 04:26:30 -0700 (PDT)
 phillen <phlentner at gmail.com> 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?
> 
> 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 at 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.



More information about the R-help mailing list