Possible Duplicate:

Changing the outlier rule in a boxplot

I need to visualize my result using box-plot.

```
x<-rnorm(10000)
boxplot(x,horizontal=TRUE,axes=FALSE)
```

How can i filter outliers during visualisation?

(1) So that i can have full image on screen without having ugly outliers.

http://postimage.org/image/szzbez0h1/a610666d/

(2) Is there any way to show outliers upto certain range? http://postimage.org/image/np28oee0b/8251d102/

Regards

See `?boxplot`

for all the help you need.

```
outline: if ‘outline’ is not true, the outliers are not drawn (as
points whereas S+ uses lines).
boxplot(x,horizontal=TRUE,axes=FALSE,outline=FALSE)
```

And for extending the range of the whiskers and suppressing the outliers inside this range:

```
range: this determines how far the plot whiskers extend out from the
box. If ‘range’ is positive, the whiskers extend to the most
extreme data point which is no more than ‘range’ times the
interquartile range from the box. A value of zero causes the
whiskers to extend to the data extremes.
# change the value of range to change the whisker length
boxplot(x,horizontal=TRUE,axes=FALSE,range=2)
```

- How to get AIC from Conway–Maxwell-Poisson regression via COM-poisson package in R?
- R : how to simply repeat a command?
- session not created: This version of ChromeDriver only supports Chrome version 74 error with ChromeDriver Chrome using Selenium
- How to show code but hide output in RMarkdown?
- remove kernel on jupyter notebook
- Function to calculate R2 (R-squared) in R
- Center Plot title in ggplot2
- R ggplot2: stat_count() must not be used with a y aesthetic error in Bar graph
- R multiple conditions in if statement
- What does "The following object is masked from 'package:xxx'" mean?
- Saving a high resolution image in R
- Change bar plot colour in geom_bar with ggplot2 in r
- Converting data frame column from character to numeric
- Extract Month and Year From Date in R
- How to combine two lists in R
- Extract year from date
- Ifelse statement in R with multiple conditions
- R dplyr: Drop multiple columns
- Remove legend ggplot 2.2
- Remove all of x axis labels in ggplot
- how to remove multiple columns in r dataframe?
- Aggregate multiple columns at once
- Changing fonts in ggplot2
- How to specify "does not contain" in dplyr filter
- how to use the Box-Cox power transformation in R
- Convert dataframe column to 1 or 0 for "true"/"false" values and assign to dataframe
- Having trouble setting working directory
- Coerce multiple columns to factors at once
- How to declare a vector of zeros in R
- Create empty data frame with column names by assigning a string vector?
- Explain ggplot2 warning: "Removed k rows containing missing values"
- R for loop skip to next iteration ifelse
- Error: package or namespace load failed for ggplot2 and for data.table
- How do I change the default library path for R packages
- Select first and last row from grouped data
- R * not meaningful for factors ERROR
- Error: could not find function "%>%"
- Raise to power in R
- In R, dealing with Error: ggplot2 doesn't know how to deal with data of class numeric
- Error - replacement has [x] rows, data has [y]
- Merge r brings error "'by' must specify uniquely valid columns"
- Non-numeric Argument to Binary Operator Error in R
- Convert row names into first column
- Append data frames together in a for loop
- Plotting with ggplot2: "Error: Discrete value supplied to continuous scale" on categorical y-axis
- R Markdown - changing font size and font type in html output
- Replace all occurrences of a string in a data frame
- How to convert dataframe into time series?
- Sum across multiple columns with dplyr
- Removing NA observations with dplyr::filter()
- [Move to How to remove outliers in boxplot in R?]

- How to set the range of y-axis for a seaborn boxplot?
- matplotlib: Group boxplots
- Plot multiple boxplot in one graph
- How to remove outliers in boxplot in R?
- Transform only one axis to log10 scale with ggplot2
- Boxplot in R showing the mean
- [Move to How to remove outliers in boxplot in R?]