From cad7e591475acb384845d0980aeb56a4417c39d1 Mon Sep 17 00:00:00 2001 From: ryan-heslin Date: Fri, 20 May 2022 14:58:10 -0400 Subject: [PATCH] Add omitted argument name to 19.7.5 exercise 1 --- Quotation.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Quotation.Rmd b/Quotation.Rmd index f9b1ccd6b..c31bba6ed 100644 --- a/Quotation.Rmd +++ b/Quotation.Rmd @@ -1181,7 +1181,7 @@ Functions like `curve()` that use an expression containing a pronoun are known a 1. In the linear-model example, we could replace the `expr()` in `reduce(summands, ~ expr(!!.x + !!.y))` with `call2()`: - `reduce(summands, call2, "+")`. Compare and contrast the two + `reduce(summands, call2, .fn = "+")`. Compare and contrast the two approaches. Which do you think is easier to read? 1. Re-implement the Box-Cox transform defined below using unquoting and