2022年5月14日

na.rm 缺失值处理

摘要: is.na 检测缺失值,返回结果为true,false na.rm=TRUE 很多函数有这个参数,即在计算之前移除缺失值,并使用剩余值计算。 https://www.cnblogs.com/GhostBear/p/8416897.html 阅读全文

posted @ 2022-05-14 23:45 BioinformaticsMaster 阅读(167) 评论(0) 推荐(0) 编辑

geom_ribbon 给数据分组 的覆盖面积上色

摘要: huron<-data.frame(year=1875:1972,level=as.vector(LakeHuron),level2=as.vector(LakeHuron)) huron[1:50,2]<-huron[1:50,2]+100 #给第二列,1:50行每个值加100 huron[50: 阅读全文

posted @ 2022-05-14 22:26 BioinformaticsMaster 阅读(387) 评论(0) 推荐(0) 编辑

导航