Skip to content

gg_season() for annual data #111

Description

@earowang

Should the series of 1821 start at 0 instead of 21?

library(feasts)
#> Loading required package: fabletools
lynx_tsbl <- as_tsibble(lynx)
gg_season(lynx_tsbl, value, period = "40 year")

forecast::seasonplot(lynx, 40, type = "l")
#> Registered S3 method overwritten by 'quantmod':
#>   method            from
#>   as.zoo.data.frame zoo

Created on 2020-07-27 by the reprex package (v0.3.0)

Activity

  1. robjhyndman commented on Jul 27, 2020

    @robjhyndman
    Member

    I think it is simpler to interpret when starting at 1.

  2. mitchelloharawild commented on Jul 27, 2020

    @mitchelloharawild
    Member
  3. mitchelloharawild commented on Jul 28, 2020

    @mitchelloharawild
    Member
    library(feasts)
    #> Loading required package: fabletools
    lynx_tsbl <- as_tsibble(lynx)
    gg_season(lynx_tsbl, value, period = "40 year")

    Created on 2020-07-28 by the reprex package (v0.3.0)

  4. earowang commented on Jul 28, 2020

    @earowang
    MemberAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions