mp - dataframetime=c666710131622236910111719202532323435NANANANANANANANANAtrt=crep6-MP11repNA19event=crep111rep019 NAError in dataframetime = c6 6 6 7 10 13 16 22 23 6 9 10 参数值意味着不同的行数 30 31r语言代码如
将最后一行的NA去掉即可,如下:
mp <- data.frame(time=c(6,6,6,7,10,13,16,22,23,6,9,10,11,17,19,20,25,32,32,34,35,NA,NA,NA,NA,NA,NA,NA),trt=c(rep("6-MP",11),rep(NA,19)),event=c(rep(1,11),rep(0,19)))
原文地址: http://www.cveoy.top/t/topic/fd9O 著作权归作者所有。请勿转载和采集!