From 4e2954efc3e1e7cb743d7b433edf682873c123ac Mon Sep 17 00:00:00 2001 From: "Collin K. Berke, Ph.D." <32435546+collinberke@users.noreply.github.com> Date: Fri, 18 Oct 2024 12:31:48 -0500 Subject: [PATCH] Fixed minor grammar issue in action-workflow.Rmd (#504) This commit contains a suggested grammar fix for the 5.2.4 Case study section. Co-authored-by: Hadley Wickham --- action-workflow.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action-workflow.Rmd b/action-workflow.Rmd index b5210603..56df5474 100644 --- a/action-workflow.Rmd +++ b/action-workflow.Rmd @@ -360,7 +360,7 @@ head(sales$TERRITORY == "EMEA", 25) ``` These missing values become missing rows when I use them to subset the `sales` data frame with `[`; any missing values in input will be preserved in the output. -There are lots of way to resolve this problem but I decided to use `subset()`[^action-workflow-3] because automatically removes missing values and reduces the number of times I need to type `sales`. I then double checked this actually worked: +There are lots of ways to resolve this problem, but I decided to use `subset()`[^action-workflow-3] because it automatically removes missing values and reduces the number of times I need to type `sales`. I then double checked this actually worked: [^action-workflow-3]: I'm using `subset()` so that my app doesn't require any other packages. In a bigger app, I'd probably prefer `dplyr::filter()` just because I'm a little more familiar with its behaviour.