Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Histograms | Core Visualization Techniques in R
Essential R Data Visualization for Beginners
Avsnitt 1. Kapitel 8
single

single

bookChallenge: Histograms

Svep för att visa menyn

Uppgift

Svep för att börja koda

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_vec vector using the hist function.
  • Set the number of bins in the histogram by using the breaks argument with the bins parameter.
  • Set the color of the histogram bars using the col argument with the color parameter.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 8
single

single

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

some-alt