QQ的情节显示带有日期的标签

时间:2016-11-29 15:09:25

标签: r

在R中使用qqnorm时,有没有办法关闭标签?以下是我的代码片段:

dev.off()
par(mfrow=c(1, 1), oma=c(0,0,3,0)) ; par(cex.axis=.75, cex.lab=.75, cex.main=.8, cex.sub=.75)
archres=sample_full_res/sqrt(garch_h)
qqnorm(archres,main='SARIMA-GARCH Residuals')
qqline(archres)

Plot showing the problem with labels on the qq plot

1 个答案:

答案 0 :(得分:0)

将archres数据系列的格式从时间序列更改为向量可以解决问题;即

使用as.vector(aggregate.ts(archres))而不是archres!