全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
1065 1
2018-12-11
用R语言分析时间序列数据,数据读入后用ts(x,start,frequency)函数生成时间序列数据。数据从1971年9月开始,到1993年6月,请问frequency应该怎么输入?
求各位指导!感谢!!
二维码

扫码加我 拉你入群

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

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

全部回复
2018-12-11 09:04:33
The value of argument frequency is used when the series is sampled an integral number of times in each unit time interval. For example, one could use a value of 7 for frequency when the data are sampled daily, and the natural time period is a week, or 12 when the data are sampled monthly and the natural time period is a year. Values of 4 and 12 are assumed in (e.g.) print methods to imply a quarterly and monthly series respectively.
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群