I'm quite a beginner with R and R packages in general. I'd like to ask you if there is any clear solution to the problem below. I've imported my data in .csv format as you can see in the following picture
https://dl.dropboxusercontent.com/u/23801982/1234.jpg
These are grouped data by entity year month and are about the 4 parameters as you can see in the next columns. If also produce a box plot for the e.g. Absrtactions column as following:
https://dl.dropboxusercontent.com/u/23801982/1234566.jpg
Now I'm trying to identify the outliers which I did with boxplot.stats command.
But I don't know how to eliminate exclude the outliers from the results and export them in a new file (e.g. .txt or .csv) due to grouped data. I saw also a manual external way to calculate with IQR but I think it doesn't fit to the exportable dataset required.
The code I used so far is:
rm(list = ls())
library("gdata")
s1 <- read.csv("C:\\Users\\G\\Documents\\R\\Projects\\20141125.csv", header = T)
boxplot(s1$Abstractions ~ s1$Entity, col="green", srt=45)
boxplot.stats(s1$Abstractions)
Thank you