Skip to content

Instantly share code, notes, and snippets.

@dgkeyes
Last active May 8, 2019 16:20
Show Gist options
  • Save dgkeyes/f2f58c9e0f53e1d268b34cb7a5f62886 to your computer and use it in GitHub Desktop.
Save dgkeyes/f2f58c9e0f53e1d268b34cb7a5f62886 to your computer and use it in GitHub Desktop.
ggplot with arguments
ggplot(data = sleep_by_gender,
mapping = aes(x = gender,
y = avg_sleep,
fill = gender)) +
geom_col()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment