Skip to content

Instantly share code, notes, and snippets.

@Harshit1694
Created July 9, 2019 12:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Harshit1694/d93bd9f73087662b7724276b73d63e38 to your computer and use it in GitHub Desktop.
Save Harshit1694/d93bd9f73087662b7724276b73d63e38 to your computer and use it in GitHub Desktop.
#Decomposing the data into its trend, seasonal, and random error components
tsdata_decom <- decompose(tsdata, type = "multiplicative")
plot(tsdata_decom)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment