标签: r ggplot2 forecasting
我习惯于控制geom_line(size=1)中ggplot的行数。我似乎找不到在autoplot()包中的forecast函数中控制行大小的方法,例如,给定以下代码,如何使行大小更粗? / p>
geom_line(size=1)
ggplot
autoplot()
forecast
> library(forecast) > d.arima <- forecast::auto.arima(AirPassengers) > autoplot(forecast::forecast(d.arima, h = 10))
答案 0 :(得分:1)
以下是使用ggfortify
ggfortify
library(ggfortify) autoplot(forecast::forecast(d.arima, h = 10), predict.size = 3, size = 2)