Silicon Valley University Visual Analytics R and R Studio Worksheet
Description
- Show meta data from the mpg dataframe using summary().
- Show metadata from the gapminder dataframe
- assign ggplot(data = gapminder, mapping = aes(x = gdpPercap, y = lifeExp) to the variable ‘p’
- find the structure of the p object.
- add geom.point() to the p object. Show p.
- replace geom.point() with geom.smooth(). Show p.
- return to geom.point and add geom.smooth(). Show p.
- add the linear element to the geom.smooth function. Show p.
- change the x axis scare to log10. Show p.
- try scale_y_log10(). Show p.
- change the method to gam from lm. Show p.
- replace scientific notation on the x axis with dollar signs
- identify the continent of each point with color. Show p.
- add labels to the plot. Show p.
- change the method to loess. Show p.
- use fill to change the appearace of lines, points, and the interior of the smoother’s standard error ribbon. S thehow p.
- limit the figure size in R markdown to 8 x 5.
- save one of your plots in it’s own file.
- experiment with saving files in different formats and different locations.
- map different attributes from gapminder to see what they look like. Show the result.
Submit a Word document with your screen shots of your work. Explain what each image is.
Submit screenshots of your successful installation.
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."