警告消息的含义:删除了包含缺失值的4行(geom_path) [英] The meaning of Warning message: Removed 4 rows containing missing values (geom_path)

查看:3275
本文介绍了警告消息的含义:删除了包含缺失值的4行(geom_path)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

数据: 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) .


有人可以向我解释这种情况下的含义吗?

Can somebody explain to me what that means in this context?

推荐答案

警告意味着某些元素因为超出指定范围而被删除。在你的情况下,所有点都在范围内,但是一个错误栏不是。

The warning means that some elements are removed because they fall out of the specified range. In your case, all points are inside the range, but one error bar is not.

这篇关于警告消息的含义:删除了包含缺失值的4行(geom_path)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆