From 6af658f1b6a5bf0020f4c29037fa323a6de29bc6 Mon Sep 17 00:00:00 2001 From: "Etienne B. Racine" Date: Tue, 9 Aug 2016 12:15:19 -0400 Subject: [PATCH 1/2] clarity -> cyl (#243) I think the concept is easier to understand by staying consistent with the `mpg` dataset, there's probably no need to introduce a new dataset for that remark only. --- visualize.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/visualize.Rmd b/visualize.Rmd index bb88f6b..fc2f659 100644 --- a/visualize.Rmd +++ b/visualize.Rmd @@ -249,7 +249,7 @@ ggplot(data = mpg) + facet_grid(drv ~ cyl) ``` -If you prefer to not facet in the rows or columns dimension, use a `.` instead of a variable name, e.g. `+ facet_grid(. ~ clarity)`. +If you prefer to not facet in the rows or columns dimension, use a `.` instead of a variable name, e.g. `+ facet_grid(. ~ cyl)`. ### Exercises From 35d464049f7851cce9698f853a8608e74ad7072a Mon Sep 17 00:00:00 2001 From: "Etienne B. Racine" Date: Tue, 9 Aug 2016 12:15:37 -0400 Subject: [PATCH 2/2] Not applicables -> Not availables (#242) I think it's more accurate. ref.: (https://stat.ethz.ch/R-manual/R-devel/library/base/html/NA.html) --- transform.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transform.Rmd b/transform.Rmd index 5f439e5..488d5ae 100644 --- a/transform.Rmd +++ b/transform.Rmd @@ -145,7 +145,7 @@ Whenever you start using complicated, multipart expressions in `filter()`, consi ### Missing values -One important feature of R that can make comparison tricky are missing values, or `NA`s ("not applicables"). `NA` represents an unknown value so missing values are "contagious": almost any operation involving an unknown value will also be unknown. +One important feature of R that can make comparison tricky are missing values, or `NA`s ("not availables"). `NA` represents an unknown value so missing values are "contagious": almost any operation involving an unknown value will also be unknown. ```{r} NA > 5