powered by
ggtsdisplay will produce the equivelant plot using ggplot graphics.
ggtsdisplay
tsdisplay(x, plot.type=c("partial","scatter","spectrum"), points=TRUE, ci.type=c("white", "ma"), lag.max, na.action=na.contiguous, main=NULL, xlab="", ylab="", pch=1, cex=0.5, ...) ggtsdisplay(x, plot.type=c("partial","scatter","spectrum"), points=TRUE, lag.max, na.action=na.contiguous, theme=NULL, ...)
acf
na.contiguous
na.pass
na.interp
plot.ts
Acf
spec.ar
ggtsdisplay(USAccDeaths, plot.type="scatter") library(ggplot2) ggtsdisplay(USAccDeaths, plot.type="scatter", theme=theme_bw())
Run the code above in your browser using DataLab