tidyverts / feasts

Feature Extraction And Statistics for Time Series
https://feasts.tidyverts.org/
295 stars 23 forks source link

gg_lag reversed axes #87

Closed robjhyndman closed 4 years ago

robjhyndman commented 4 years ago

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).

mitchelloharawild commented 4 years ago

Resolved by c7a3e1d5e10e1fe45deb349b6cbbf1147b5ac845