From e3b8211853f39b097ad5a1f89c4a72a13c756f4b Mon Sep 17 00:00:00 2001 From: Divider85 <120429609+Divider85@users.noreply.github.com> Date: Thu, 5 Jan 2023 05:22:56 +0300 Subject: [PATCH] Update data-transform.qmd (#1216) * Update data-transform.qmd Fix wording * Update data-transform.qmd Co-authored-by: Mine Cetinkaya-Rundel --- data-transform.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-transform.qmd b/data-transform.qmd index 5f51b82..4caccf8 100644 --- a/data-transform.qmd +++ b/data-transform.qmd @@ -335,7 +335,7 @@ There are a number of helper functions you can use within `select()`: - `num_range("x", 1:3)`: matches `x1`, `x2` and `x3`. See `?select` for more details. -Once you know regular expressions (the topic of @sec-regular-expressions) you'll also be use `matches()` to select variables that match a pattern. +Once you know regular expressions (the topic of @sec-regular-expressions) you'll also be able to use `matches()` to select variables that match a pattern. You can rename variables as you `select()` them by using `=`. The new name appears on the left hand side of the `=`, and the old variable appears on the right hand side: