标签: r plot time-series correlation
我希望更改这个简单的acf绘图会创建的标题,但我不确定该怎么做,因为它默认为变量名d.sales2。
acf
d.sales2
AutoCorrelation <- acf(d.sales.2) plot(AutoCorrelation)
非常感谢
赛义夫
答案 0 :(得分:3)
答案去了AkselA。在main中使用acf自变量,如下所示:
main
# Simulation d.sales.2 <- freeny$y # Plotting AutoCorrelation <- acf(d.sales.2, plot = FALSE) plot(AutoCorrelation, main = "Freeny's Quarterly Revenue Time Series ACF")
输出: :