library(ggplot2)ggplot으로 boxplot을 그릴 때, outlier 제거하기
diamonds |>
ggplot(aes(x=cut, y=price))+
geom_boxplot(outlier.shape=NA #outlier 제거하기
) 
boxplot에 errorbar 표시
diamonds |>
ggplot(aes(x=cut, y=price)) +
stat_boxplot(geom='errorbar') +
geom_boxplot(outlier.shape=NA #outlier 제거하기
) 