Skip to content

Instantly share code, notes, and snippets.

@luiscruz
Created February 9, 2016 19:48
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 luiscruz/68b2e62583aa0420905f to your computer and use it in GitHub Desktop.
Save luiscruz/68b2e62583aa0420905f to your computer and use it in GitHub Desktop.
pf <- read.delim("https://s3.amazonaws.com/udacity-hosted-downloads/ud651/pseudo_facebook.tsv")
ggplot(aes(x=age, y=friend_count), data=pf)+
xlim(13,90)+
geom_point(alpha = 0.05,
position = position_jitter(h=0),
color = 'blue'
)+
coord_trans(y="sqrt")+
geom_line(stat="summary", fun.y = mean)
@luiscruz
Copy link
Author

rplot

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