I see you add comments when coding, which is a really good habit!
A way to achieve task 1.3 different from me. Your codes are easier to understand than mine for someone who has just started to learn lag().
How to plot after piping (task 1.5) in a simpler way.
I really like your first plot! You analyzed data in a flexible way by creating new variables about changes. It is very creative.
Specific constructive criticism and possible solutions
In Exercise 2:
I notice that you mentioned the categorical variables you chose are continent/country, but I'm afraid that I didn't see much about country...I am guessing it's because you analyzed "the typical population of a country", though I'm not pretty sure. But I think you have done well in analyzing continent as a categorical variable (I picked it at first as well, but I didn't know how to analyze it in a good way. You really inspired me!).
There might be a grammar flaw: "By doing so, we can investigate whether a continent is overly broken down with country borders (whether there is too many countries in a continent)." Maybe it should be "are"? Sorry I'm not a native speaker, so please ignore me if I made a mistake!:)
If you would like to address more about spread of data, maybe you could also try quartiles, interquartile range, variance and standard deviation. :)
Yes you are totally right I made some grammatical errors :) Thanks for the recommendations about quartiles, interquartile range, variance and standard deviation.
Peer-Review HW-02 for Stannam
lag()
.