MulaiMulai sekarang secara gratis

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.

Latihan ini adalah bagian dari kursus

R For SAS Users

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Load ggplot2 package
library(___)

# Make a histogram of shellWeight for the abalones
ggplot(___, aes(___)) + 
	___
Edit dan Jalankan Kode