[R] mild and extreme outliers in boxplot

Bert Gunter gunter.berton at gene.com
Wed Aug 19 22:49:33 CEST 2009


Rolf:

Not sure what "reasonably thorough" means but:

 ? boxplot says:

...
pars    a list of (potentially many) more graphical parameters, e.g., boxwex
or outpch; these are passed to bxp (if plot is true); for details, see
there.


Well, that seems pretty clear to me, so I went to ?bxp to find in the pars
listing:

outlty, outlwd, outpch, outcex, outcol, outbg:
outlier line type, line width, point character, point size expansion, color,
and background color. The default outlty= "blank" suppresses the lines and
outpch=NA suppresses points.


It seems to me that this (and other omitted excerpts + examples) is at least
a reasonable answer to the query (allowing the reader to at least infer that
bxp does not distinguish degrees of outlyingness), so I don't understand
your criticism. Feel free to respond privately if you prefer.

-- Bert

Bert Gunter
Genentech Nonclinical Biostatisics

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Rolf Turner
Sent: Wednesday, August 19, 2009 1:27 PM
To: ottorino-luca.pantani at unifi.it
Cc: Rnewbie; ERRE
Subject: Re: [R] mild and extreme outliers in boxplot


On 20/08/2009, at 3:13 AM, Ottorino-Luca Pantani wrote:

> Rnewbie ha scritto:
>> dear all,
>>
>> could somebody tell me how I can plot mild outliers as a circle(°)  
>> and
>> extreme outliers as an asterisk(*) in a box-whisker plot?
>>
>> Thanks very much in advance
>>
> ?boxplot
>
> or
>
> help(bxp)

This is the sort of response that gives R-help a bad name.

I had a reasonably thorough look at these help files and saw  
***nothing***
that would answer the OP's question.  The information may be there  
--- I'm
not sure about this --- but it is far from obvious.  Explicit reference
to the appropriate lines of the help file(s) would be useful.

	cheers,

		Rolf Turner
######################################################################
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

This e-mail has been scanned and cleared by MailMarshal 
www.marshalsoftware.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