Fri Oct 7, 2016

5NG

Today:

  1. Scatterplot AKA bivariate plot
  2. Linegraph
  3. Boxplot
  4. Histogram
  5. Barplot AKA Barchart AKA bargraph

Histograms

  • Midterm: Histograms display information about a single continuous/numerical variable as the x aesthetic
  • The y-axis displays notions of relative frequency i.e. which values occur more than others. This is not a variable in the data set, but rather is computed internally.
  • Yoooooooge definition: they are a visualization of the statistical distribution.

Recall from Lec05 Slide 11

From okcupiddata package, the profiles data set:

Recall from Lec05 Slide 11

Cleaned up to only have heights between 55 (5'5'') and 80 (6'8'') inches: