x <- c(1,2,NA,4,5)
x[is.na(x)] <- 0
【R】填补vector中缺失值
猜你喜欢
转载自blog.csdn.net/u_7890/article/details/92807619
今日推荐
周排行