Created
January 11, 2017 09:01
-
-
Save ProQuestionAsker/047fc29dea4984779c51a628af759ae0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Counting words per character | |
RO_full2 <- RO_full %>% | |
mutate(count = stri_count(Words, regex = "\\S+")) %>% | |
group_by(Character, Gender) %>% | |
summarise(Total_Words = sum(count)) %>% | |
filter(!(Gender == "unknown")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment