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.
Libro relacionado
- 2018
- 9780691185064
- Desconocido
Escuela, estudio y materia
- Institución
- Visual Analytics
- Grado
- Visual Analytics
Información del documento
- Subido en
- 11 de julio de 2023
- Número de páginas
- 19
- Escrito en
- 2022/2023
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
plottingvisualanalyticsweek4necsolved