diff --git a/strings.Rmd b/strings.Rmd index 0536553..5cbfe1c 100644 --- a/strings.Rmd +++ b/strings.Rmd @@ -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]") ) ```