Sektion 1. Kapitel 8
single
Challenge: Histograms
Stryg for at vise menuen
Opgave
Stryg for at begynde at kode
Practice using histograms to visualize distributions in R. You will generate a histogram for a numeric vector and customize its appearance.
- Create a histogram of the
data_vecvector using thehistfunction. - Set the number of bins in the histogram by using the
breaksargument with thebinsparameter. - Set the color of the histogram bars using the
colargument with thecolorparameter.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 8
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat