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

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