gwern comments on LW survey: Effective Altruists and donations - Less Wrong

18 Post author: gwern 14 May 2015 12:44AM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (38)

You are viewing a single comment's thread. Show more comments above.

Comment author: gwern 14 May 2015 04:42:03PM 7 points [-]

Thanks, I didn't know ggplot2 had a feature like that. Some more googling reveals you can override the ticks on the axis by specifying your own breakpoints on the y-axis, so one can write:

qplot(Age, Charity, color=EffectiveAltruism, data=survey) + geom_point(size=I(3)) +
scale_y_continuous(breaks=round(exp(1:10))) + coord_trans(y="log1p")

which yields more labels for the lower range of donations: