Fixing typo chapter 26 (#1382)

This commit is contained in:
alberto-agudo 2023-03-22 00:49:21 +01:00 committed by GitHub
parent ab0c1c44ac
commit d3a0a5a327
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ df |> mutate(
You might be able to puzzle out that this rescales each column to have a range from 0 to 1.
But did you spot the mistake?
When Hadley wrote this code he made an error when copying-and-pasting and forgot to change an `a` to a `b`.
Preventing this type of mistake of is one very good reason to learn how to write functions.
Preventing this type of mistake is one very good reason to learn how to write functions.
### Writing a function