Skip to content

Instantly share code, notes, and snippets.

@sriyoda
Created February 1, 2016 20:37
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 sriyoda/b227078f6e66aeed09fe to your computer and use it in GitHub Desktop.
Save sriyoda/b227078f6e66aeed09fe to your computer and use it in GitHub Desktop.
ggplot(data = movies2) +
geom_point(aes(x=rating, y= domestic), color='dark green') +
geom_smooth(aes(x=rating, y= domestic), se=T, color = 'red') +
ggtitle("Movie Revenue vs Rating") +
xlab("Rating") + ylab("Domestic Revenue (Dollars)")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment