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: