R-Fundamentals
R-Fundamentals copied to clipboard
Part 4 - one actual issue and some suggestions
-
In the “Summary Statistics Review” section of Part 4, the first portion says “For example: CLEAN UP.” It looks like there was supposed to be additional text with examples of what we covered in Part 3.
-
Under “Custom Functions” of Part 4, the “mean_lifeexp” function uses pull() and pipes through to mean(), which confused some students. I’d avoid using this and instead save lifeexp_mean using “mean(gap$lifeexp)” because we’ve already covered this syntax.
-
Consider specifying what to call the function in Challenge 3 instructions so everyone can work off the same code.
-
In the “Box Plots” section there is code to run ggplot and aes functions that don’t produce anything because we haven’t specified what plot we want to create (as expected), but I think this is confusing. Might want to just keep the full code under “geom” as is and break down data, aesthetics, and geom within the single chunk.