Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

This comment has been minimized.

Copy link

jdemello commented Apr 29, 2019

Just a few observations:

Question 2 has an equivalent sans tidyverse with data.table:


new_data[, .(average=mean(avg_me, na.rm=T)), by="some_cool_suff"] 

2(d) is incorrect then.

Also question 3, geom_smooth() is needed to generate figure 2 (i.e. geom_point() + geom_smooth()).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.