This my peer review for your Hw05. The README.md file contains all the proper links to your assignment, as well as some useful online resources. Now, let's proceed to your tasks:
1. Factor Management. Correct use of the filter() function for dropping Oceania from column continent, and I also liked that you kept a detailed tracking on how you drop that factor level as well. You correctly addressed the null effect of function arrange() on a figure (regarding the plotting order in factor levels). In terms of the subset gap_america_2002, we followed a similar procedure when plotting a given factor while taking into account some other metric for reordering its levels with fct_reorder(). However, I saw that you didn't drop the levels in country that don't appear in gap_america_2002. It's advisable to do that when subsetting certain factor levels.
2. File I/O. Good exploration of all the suggested functions, as well as the effect of each file format on factor levels.
3. Visualization design. Good use of the new tools suggested in class. However, I'd work out more on the plot aesthetics (axes, scales, and titles). Theggplot2()website offers really useful help.
Good demonstration of the factors (and number of them) before and after dropping the levels.
Good comparison of arrange vs reordering factors - included plot to demonstrate the difference in functionality as well.
I like that you explored the use of the three reading/writing combinations but then created a table to summarize your findings. I hadn’t explored dput so I learned something new here!
The figure x-axis is very crowded and hard to read in the visualization and design section. Also try experimenting with the viridian and r-brewer colour palettes
Experimented with attributes on the plots.
Referenced sources in readme doc and reflected briefly on experience!
Hi @yidie! Here are some comments about your hw05:
Your first task of converting artist names to factors was well done. You did a good job of showing the difference between the three different ways of factorizing.
Although you reordered the levels of continents correctly, I think it would be useful for the reader to show a table featuring the mean life expectancy of each continent so that it is easy to tell that your reorder was doing what you intended for it to do
I think that you should try to write explanations for each part of your assignment. The code and results are correct, but you leave a lot for the reader to try to interpret themselves. For example, what effects does arrange have and factor reordering on plots. You were able to show the effects, but please provide an explanation too. It doesn’t need to be super long and detailed. You did this well in some sections, but it was lacking in others.
Excellent job for the file I/O task! The table at the end really highlighted the differences between the three read/write methods.
Good work on the visualization design, you incorporated many new elements including point shapes, themes and legend modifications into your plot
Nice work overall, your code was good and you hit all of the required elements. Good work in STAT 545A!
Note: your mark (check minus, check, check plus) will be distributed later.
Hi @yidie ,
This my peer review for your Hw05. The
README.md
file contains all the proper links to your assignment, as well as some useful online resources. Now, let's proceed to your tasks:1. Factor Management. Correct use of the
filter()
function for dropping Oceania from columncontinent
, and I also liked that you kept a detailed tracking on how you drop that factor level as well. You correctly addressed the null effect of functionarrange()
on a figure (regarding the plotting order in factor levels). In terms of the subsetgap_america_2002
, we followed a similar procedure when plotting a given factor while taking into account some other metric for reordering its levels withfct_reorder()
. However, I saw that you didn't drop the levels incountry
that don't appear ingap_america_2002
. It's advisable to do that when subsetting certain factor levels.2. File I/O. Good exploration of all the suggested functions, as well as the effect of each file format on factor levels.
3. Visualization design. Good use of the new tools suggested in class. However, I'd work out more on the plot aesthetics (axes, scales, and titles). The
ggplot2()
website offers really useful help.4. Writing figures to file. Good use of
ggsave()
.Overall, way to go!
Cheers,
Alexi