From f1d8f1f5d2fe5c030506f3b8df9e3e2e516cc2a8 Mon Sep 17 00:00:00 2001 From: Michael Grund <23025878+michaelgrund@users.noreply.github.com> Date: Wed, 25 Oct 2023 15:26:48 +0200 Subject: [PATCH] Fix typo in 19.4 (#1585) --- missing-values.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/missing-values.qmd b/missing-values.qmd index a79d046..01e3f06 100644 --- a/missing-values.qmd +++ b/missing-values.qmd @@ -215,7 +215,7 @@ And we want to count the number of smokers with `dplyr::count()`: health |> count(smoker) ``` -This dataset only contains non-smokers, but we know that smokers exist; the group of non-smoker is empty. +This dataset only contains non-smokers, but we know that smokers exist; the group of non-smokers is empty. We can request `count()` to keep all the groups, even those not seen in the data by using `.drop = FALSE`: ```{r}