From 7838cff89c4aa458e255e6ea7392aac5db0776d8 Mon Sep 17 00:00:00 2001 From: OaCantona Date: Sun, 24 Jul 2016 14:29:49 +0200 Subject: [PATCH] Typo (#184) --- EDA.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EDA.Rmd b/EDA.Rmd index 6385a48..57237fb 100644 --- a/EDA.Rmd +++ b/EDA.Rmd @@ -109,7 +109,7 @@ You can compute this by hand by combining `dplyr::count()` and `ggplot2::cut_wid diamonds %>% count(cut_width(carat, 0.5)) ``` -A histogram divides the x axis into equally spaced bins and then uses the heigh of bar to display the number observations fall in each bun. In the graph above, the tallest bar shows that almost 30,000 observations have a $carat$ value between 0.25 and 0.75, which are the left and right edges of the bar. +A histogram divides the x axis into equally spaced bins and then uses the height of bar to display the number observations fall in each bun. In the graph above, the tallest bar shows that almost 30,000 observations have a $carat$ value between 0.25 and 0.75, which are the left and right edges of the bar. You can set the width of the intervals in a histogram with the `binwidth` argument, which is measured in the units of the $x$ variable. You should always explore a variety of binwidths when working with histograms, as different binwidths can reveal different patterns. For example, here is how the graph above looks when we zoom into just the diamonds with a binwidth of less than three and choose a smaller binwidth.