Fixed Typo (#317)

This commit is contained in:
Ajay Deonarine
2016-08-26 11:33:27 -04:00
committed by Hadley Wickham
parent a933c5f286
commit d800a19a83

View File

@@ -483,7 +483,7 @@ It's natural to use `str_count()` with `mutate()`:
df %>%
mutate(
vowels = str_count(word, "[aeiou]"),
consontants = str_count(word, "[^aeiou]")
consonants = str_count(word, "[^aeiou]")
)
```