Aan de slagGa gratis aan de slag

Histograms

This exercise will explore using the geom_histogram() geometric object to create a histogram of abalone shellWeight with custom colors for the bin line and fill colors and custom axis labels and title. Remember to first load the ggplot2 package to access these functions.

The abalone dataset and dplyr package have been loaded for you.

Deze oefening maakt deel uit van de cursus

R For SAS Users

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Load ggplot2 package
library(___)

# Make a histogram of shellWeight for the abalones
ggplot(___, aes(___)) + 
	___
Code bewerken en uitvoeren