【发布时间】:2018-03-29 14:45:18
【问题描述】:
如何更改 geom_boxplot 中的异常值规则?在boxplot中,我只需要设置range = 3。另外,如何设置lower和upper?
individual_SoA_plots <- lapply(individual_SoA_data,
function(x) {
ggplot(x, aes(x = x$GROUP, y =x$AgingOfAlert)) +
geom_boxplot(ymin = 0, ymax = 162,
col=" dark blue", fill = "green",
outlier.colour = "#1F3552", outlier.shape = 20) +
scale_y_continuous(name = "Aging Of Alerts") +
scale_x_discrete(name = "Current State", limits = GROUPtype) +
ggtitle(x$SourceOfAlert[1]) + theme_bw() +
theme(text = element_text(size=10))
})
【问题讨论】:
-
不,不是,我在问geom_boxplot,它没有“范围”