- 积分
- 23097
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-5-2
- 最后登录
- 1970-1-1
![[童小豆的大世界] 粉丝数:654 微博数:2877 新浪微博达人勋](source/plugin/sina_login/img/light.png)
|
业务编程
系统平台: |
|
问题截图: |
- |
问题概况: |
R语言编程有关缺失值 |
使用语言: |
R语言 |
我看过提问的智慧: |
看过 |
自己思考时长(天): |
1 |
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
在做函数处理前已经将缺失值用0来替换,为什么做了函数计算以后还会出现缺失值呢?怎么解决啊
>qm1.fit<-fitQmap(ob,md,method="PTF",transfun="expasympt",cost="RSS",wett.day=TRUE)
There were 50 or more warnings (use warnings() to see the first 50)
> warnings()
Warning messages:
1: In FUN(1:40545[[40545L]], ...) : model identification for failed
NA's produced.
2: In FUN(1:40545[[40545L]], ...) : model identification for failed
NA's produced.
``````
> qm1<-doQmap(mod,qm1.fit)
There were 50 or more warnings (use warnings() to see the first 50)> sum(is.na(qm1))
[1] 3093040
其中ob和md的缺失值都已经换成了0
|
|