5540/removing-outliers-from-a-box-plot-ggplot2-r
I have made this box-plot on the iris data-set:
ggplot(data = iris,aes(x=Species,y=Sepal.Length))+geom_boxplot()
I would not want to display the outliers in this plot.
You just have to add 'outlier.shape=NA' inside the geom_boxplot() function:
I built this boxplot with the help of ggplot2:
ggplot(data = iris,aes(x=Species,y=Sepal.Length))+geom_boxplot(outlier.shape=NA)
You can use this command to create ...READ MORE
To find number of missing values for ...READ MORE
Consider for both the situations: 1. Image will ...READ MORE
Hello team, you can use na.omit x <- c(NA, 3, ...READ MORE
By Using gridExtra library we can easily ...READ MORE
You can use the theme layer to ...READ MORE
The below command will give you the ...READ MORE
Use facet_grid() and pass the field to ...READ MORE
You can use the scale_x_discrete() function with ...READ MORE
Load the 'scales' package first, which gives ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.