tidyverts / feasts

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

Reconsider class for ACF lag column #82

Open mitchelloharawild opened 4 years ago

mitchelloharawild commented 4 years ago

From #70

Use a difftime to represent lags instead of the cf_lag class. Store the interval elsewhere for plot breaks.

mitchelloharawild commented 4 years ago

@earowang I don't think difftime can be used because it doesn't support irregular units such as months. Does this sound reasonable?

AEBilgrau commented 4 years ago

Hi, I was about to make an issue in respect. I lack some functionality for either type conversion/coercion or cf_lag handling in general. The current class is a bit cumbersome in the downsteam analysis and e.g. wanting to use other plotting libraries than ggplot2. What are your thoughts on this?

mitchelloharawild commented 4 years ago

I have ideas for a new temporal vctrs object for handling temporal aggregation (https://github.com/tidyverts/fabletools/issues/59). This new temporal class will also support origin-less time offsets which ACF will use. It will have also have scales methods so it should work with ggplot2.

mitchelloharawild commented 3 years ago

Wait for https://github.com/mitchelloharawild/moment to provide origin-less time structures