Open shadowforti opened 7 years ago
Hi Jian, here are some comments:
Task1 Tables and graphs are good. Maybe try if you can plot both the max and min in the same graph?
Task2 In terms of looking at spread in a table, you might want to calculate the variance/standard deviation of gdpPercap for each continent and show them in a table. The graph could be a boxplot which is more informative than histogram when you want to see the spread of certain variables.
Task3
Good job calculating the trimmed mean using trim
argument in the mean
function and add this mean to the dataframe. You might also want to create a table listing the years and the corresponding lifeExp. In the graph, maybe try geom_point
instead of geom_bar
since lifeExp is a quantitative variable. But what you did is good as well.
Task 4 Table is well done! Graph is informative. Good observations from the graph.
Your homework is very organized. I appreciate that you illustrate every step you do. It is very easy for readers to follow what you are doing. For all the tasks, you start by extracting information from the data and then manipulate and then plot. Good job! I'd suggest you give more details in process report section next time.
Thanks, Yidie
Hi @shadowforti
Nice homework assignment!
Here are some general thoughts:
Task 1:
Task 2:
Task 3:
Task 4:
Good work! Sep