From d84c4a3731cff9dd6777acb3caf0aed3d284dc0a Mon Sep 17 00:00:00 2001 From: Mara Averick Date: Fri, 16 Sep 2022 07:30:53 -0600 Subject: [PATCH] Output of mutate w/ across gets same *name* as input (#1092) --- iteration.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iteration.qmd b/iteration.qmd index aee6621..2d4d06c 100644 --- a/iteration.qmd +++ b/iteration.qmd @@ -198,7 +198,7 @@ df %>% summarise( ``` The `.names` argument is particularly important when you use `across()` with `mutate()`. -By default the outputs of `across()` are given the same numbers as the inputs. +By default the outputs of `across()` are given the same names as the inputs. This means that `across()` inside of `mutate()` will replace existing columns: ```{r}