Seksjon 1. Kapittel 8
single
Challenge: Histograms
Sveip for å vise menyen
Oppgave
Sveip for å begynne å 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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 8
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår