Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@yutannihilation
Created April 24, 2019 22:57
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 yutannihilation/36efb487fff3a57bfebe32d43cede384 to your computer and use it in GitHub Desktop.
Save yutannihilation/36efb487fff3a57bfebe32d43cede384 to your computer and use it in GitHub Desktop.
library(ggplot2)

ggplot(mpg, aes(displ, hwy, colour = displ > 4)) +
  geom_point() +
  geom_smooth()
#> `geom_smooth()` using method = 'loess' and formula 'y ~ x'

Created on 2019-04-25 by the reprex package (v0.2.1)

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