摘要: 1、测试 test <- c(2,NA,5, 8, NA, 10, 5) test test2 <- as.integer(na.omit(test)) ## 清除NA test2 test3 <- which(!is.na(test)) ## 返回非空的索引 test3 test4 <- whic 阅读全文
posted @ 2021-11-17 09:59 小鲨鱼2018 阅读(1074) 评论(0) 推荐(0) 编辑