gg_lag plots lag(y,n) vs y but the help file says the opposite.
forecast::gglagplot does the same.
stats::lag.plot plots y vs lag(y,n).
I think we should make them all the same, which means changing gg_lag and forecast::gglagplot to be the same as stats::lag.plot (and consistent with their own help files).
gg_lag
plots lag(y,n) vs y but the help file says the opposite.forecast::gglagplot
does the same.stats::lag.plot
plots y vs lag(y,n).I think we should make them all the same, which means changing
gg_lag
andforecast::gglagplot
to be the same asstats::lag.plot
(and consistent with their own help files).