【发布时间】:2020-06-13 21:51:42
【问题描述】:
我尝试输入这些命令,但它不起作用...有人可以帮忙吗?
OPts <- read.csv(OILBRENT)
read.table 中的错误(文件 = 文件,标题 = 标题,sep = sep,quote = quote,: 'file' 必须是字符串或连接
OPts <- ts(OILBRENT, start = c(jun-87), end = c(Jan-20), frequency =12)
ts(OILBRENT, start = c(jun - 87), end = c(Jan - 20), frequency = 12) 中的错误: 找不到对象“君”
OPts <- ts(OILBRENT, start = c(jun-87, 1), end = c(Dec-19, 12), frequency =12)
ts(OILBRENT, start = c(jun - 87, 1), end = c(Dec - 19, 12), frequency = 12) 中的错误: 找不到对象“君”
【问题讨论】:
-
请查看How to make a great R reproducible example,以修改您的问题,并从您的数据中提取更小的样本(查看
?dput())。发布您的数据或没有数据的图像会使我们难以为您提供帮助! -
什么是
U?此处不要使用俚语。 -
@fcm U 是 I 旁边的字母。鉴于这句话,它可能是一个错字...
-
首先,您需要成功导入数据。完成该任务后,您需要找到 Jun。
标签: r time-series data-manipulation