CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

R For SAS Users

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Load ggplot2 package
library(___)

# Make a histogram of shellWeight for the abalones
ggplot(___, aes(___)) + 
	___
Modifier et exécuter le code