Plotting_Visual_Analytics_Week4_NEC_Solved
1. Show meta data from the mpg dataframe using summary(). 2. Show metadata from the gapminder dataframe 3. assign ggplot(data = gapminder, mapping = aes(x = gdpPercap, y = lifeExp) to the variable 'p' 4. find the structure of the p object. 5. add () to the p object. Show p. 6. replace () with h(). Show p. 7. return to and add h(). Show p. 8. add the linear element to the h function. Show p. 9. change the x axis scare to log10. Show p. 10. try scale_y_log10(). Show p. 11. change the method to gam from lm. Show p. 12. replace scientific notation on the x axis with dollar signs 13. identify the continent of each point with color. Show p. 14. add labels to the plot. Show p. 15. change the method to loess. Show p. 16. use fill to change the appearace of lines, points, and the interior of the smoother's standard error ribbon. S thehow p. 17. limit the figure size in R markdown to 8 x 5. 18. save one of your plots in it's own file. 19. experiment with saving files in different formats and different locations. 20. map different attributes from gapminder to see what they look like. Show the result.
Connected book
Written for
- Institution
- Visual Analytics
- Course
- Visual Analytics
Document information
- Uploaded on
- July 11, 2023
- Number of pages
- 19
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
plottingvisualanalyticsweek4necsolved