Skip to content

Instantly share code, notes, and snippets.

@omartinez182
Created June 19, 2020 18:06
Show Gist options
  • Save omartinez182/d1d459b5d441a151e227efc221ae5263 to your computer and use it in GitHub Desktop.
Save omartinez182/d1d459b5d441a151e227efc221ae5263 to your computer and use it in GitHub Desktop.
Understanding Time Series Analysis with R - Snippet 3
ggplot(data, aes(x=t, y=sales), col='light blue')+
geom_point()+
stat_smooth(method="lm",col="red")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment