楼主: 皮卡乔
6410 3

[问答] R语言做时间序列出现画图时的错误 [推广有奖]

  • 1关注
  • 0粉丝

高中生

5%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0.0001
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
183 点
帖子
17
精华
0
在线时间
12 小时
注册时间
2012-10-6
最后登录
2015-7-10

楼主
皮卡乔 发表于 2012-10-25 14:06:21 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
> global<-read.table(file.choose(),header=T)
> global.ts<-ts(global)
> global.ts<-ts(global,st=1856,fr=12)
> global.decom<-decompose(global.ts)
> plot(global.decom)
错误于plotts(x = x, y = y, plot.type = plot.type, xy.labels = xy.labels,  :
  cannot plot more than 10 series as "multiple"

不知道为什么会有这样的错误。。。百度了也没有找到解决方法。。。求高人解答!!!
(折腾了一中午都没弄出来。。。。哭了!!!)
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:时间序列 R语言 Multiple Global labels multiple 百度 cannot

沙发
zhuqiandai2012 发表于 2012-10-25 14:22:29
原来如此

藤椅
waterhorse 发表于 2012-10-29 11:47:13
Is it a single time series? I guess the "decompose" command can not deal with multiple time series simultanelously. If you seperate them and use "decompose" one at a time, you may be able to retrieve trend, seasonal pattern, and irregular components.
已有 1 人评分论坛币 收起 理由
yahoocom + 20 热心帮助其他会员

总评分: 论坛币 + 20   查看全部评分

板凳
皮卡乔 发表于 2012-11-2 23:23:46
waterhorse 发表于 2012-10-29 11:47
Is it a single time series? I guess the "decompose" command can not deal with multiple time series s ...
谢谢哦。后来问题解决了。。是老师给的数据有些问题。。重新换了数据问题就解决了。。

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-9 09:38