Open sepkamal opened 6 years ago
Smell test of data: Yes
Explores at least one categorical/quantitative variable: Yes
Uses various ggplot types: Yes (dot, histogram)
Uses filter()
, select()
, and %>%
: Yes
Bonus (evaluate code, tables, more dplyr): Yes: evaluate code, plus arrange()
and mutate()
Reflection on process: Yes
Comments:
typeof()
produces odd results with factors – it's calling $country
and $continent
integers because they are stored as integers under the hood, but it's important to be able to distinguish that from actual numeric data like $lifeExp
. The 'class()' function will tell you when something is a factor.arrange()
doesn't affect the display of the graph, just the table.mutate
should require you to define your new variable ahead of time. Would have to do some playing around to confirm.Your mark will be distributed later. If you would like more feedback, please feel free to message me on slack.
Hi Sep, Nicely done! Here's my review for homework 02:
Your repo is easily accessible! I would recommend creating another folder for your homework 01 for more organization.
Great job using headers and text to guide the reader along. I would suggest listing the questions to explain what you're doing.
Your typeof(gapminder$continent)
code says continent is an integer, when it's a factor, but you also answered that it was factor. Perhaps explain discrepancy in your code when necessary!
Good work exploring individual variables using tables and figures!
I like your use of various plot types! Your plot of the top 30 European countries vs. population is very nicely done. I like that you incorporated piping, filter()
, and head()
. I also learned how to angle text from your code, so thank you! I'm going to incorporate that in my future plots.
I didn't know about the geom_vline()
function, and I liked that you used it to mark the mean! Great idea (I'm going to try this too)!
I like that you used different features and I learned how to individually label data points from your Canada label. It's hard to see which point it's referring to, but definitely useful for other data sets!
I would consider adding more to your reflection and maybe adding links to the sources you found helpful (I appreciate that final image)! Overall, great work!
Thanks, Amanda
Well done, plot on!
-Cassandra
Hi @vincenzocoia @gvdr @ksedivyhaley @joeybernhardt @mynamedaike @pgonzaleze @derekcho
Please see my hw02 folder: https://github.com/sepkamal/STAT545-hw-Kamal-Sepehr/tree/master/Hw02
Thanks, Sep