Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

geom boxplot remove outliers

ggplot(data, aes(y = y)) +                                # Create ggplot without outliers
  geom_boxplot(outlier.shape = NA) +
  coord_cartesian(ylim = quantile(data$y, c(0.1, 0.9)))
Source by statisticsglobe.com #
 
PREVIOUS NEXT
Tagged: #geom #boxplot #remove #outliers
ADD COMMENT
Topic
Name
2+2 =