Skip to content

Instantly share code, notes, and snippets.

@danslimmon
Last active December 17, 2015 00:09
Show Gist options
  • Save danslimmon/5518231 to your computer and use it in GitHub Desktop.
Save danslimmon/5518231 to your computer and use it in GitHub Desktop.
ggplot2 book typo
# In section 4.3, last code snippet,
bestfit <- geom_smooth(method="lm", se=F, color=alpha("steelblue", 0.5), size=2)
# should be
bestfit <- geom_smooth(method="lm", se=F, color="steelblue", alpha=0.5, size=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment