数据:https://drive.google.com/file/d/0B20HmmYd0lsFSmZhYUk3bkRTNFk/edit?usp=sharing
plot.df<- read.table("meansses.txt")
theme_luke <- function (base_size = 12, base_family = "") {
theme_gray(base_size = base_size, base_family = base_family) %+replace%
theme(
panel.background = element_rect(fill="white"),
panel.grid.minor.y = element_blank(),
legend.key = element_rect(fill="white", colour= "white"),
strip.background = element_rect(fill="white")
)
}
theme_set(theme_luke())
ggplot(plot.df, aes(factor(L2),mean)) +
geom_point(stat = "identity",aes(shape=L3), size=4, group=L3) +
scale_shape(solid = FALSE) +
geom_errorbar(aes(ymax = mean + se, ymin = mean - se)) +
facet_grid(. ~ L1) +
xlab("Levels") + ylab("Proportion") +
ylim(0,0.12)
除非我设置ylim
Warning message: Removed 4 rows containing missing values (geom_path) .
有人可以向我解释在这种情况下这意味着什么吗?
答案 0 :(得分:14)
警告意味着某些元素因为超出指定范围而被删除。在您的情况下,所有点都在范围内,但不是一个错误栏。