Skip to content
Back to formatted view

Raw Message

Message-ID: <000001d19083$58191790$084b46b0$@yahoo.com>
Date: 2016-04-07T04:09:54Z
From: Thomas Subia
Subject: identifying outliers

Thanks for writing this great piece of code.

 

x = rnorm(100)

boxplot(x) # you shouldn't see any outliers here although sometimes yow will

 

# lets add some outliers intentionally

x = c(21, 20, 25, x) # now 10, 15 and 20 are outliers

 

myboxplot <- boxplot(x) # now you should see your three outliers

 

myboxplot$out # it will print the values of the outliers

 

How does one amend this code to produce the outliers by a group?

 

All the best,

 

Thomas Subia


	[[alternative HTML version deleted]]