tidyverts / feasts

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

gg_subseries facets should preserve order #34

Closed mitchelloharawild closed 5 years ago

mitchelloharawild commented 5 years ago

library(tsibble)
#> 
#> Attaching package: 'tsibble'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
library(feasts)
#> 
#> Attaching package: 'feasts'
#> The following object is masked from 'package:grDevices':
#> 
#>     X11
pedestrian %>% 
  index_by(Date) %>% 
  summarise(Count = sum(Count)) %>% 
  gg_subseries(Count)

Created on 2019-04-02 by the reprex package (v0.2.1)