How to implement the facet grid feature using the ggfortify library on a time series data?
问题 I am using RStudio and I have a time series data ( ts object) called data1 . Here is how data1 looks: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 2014 135 172 179 189 212 47 301 183 247 292 280 325 2015 471 243 386 235 388 257 344 526 363 261 189 173 2016 272 267 197 217 393 299 343 341 315 305 384 497 To plot the above, I have run this code: plot (data1) and I get the following plot: I want to have a plot that is broken by Year and I was thinking of implementing the facet_grid feature