Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
1b;2d;3c;4d;5b;6c;7c;8a;9d;10c.
@jdemello

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:

data.table::setDT(new_data)

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.