Description Usage Arguments Examples
View source: R/clickbait_functions.R
This function takes in any string and returns the number of pronouns present. This function is intended for use on any of the clickbait MEA datasets. Pronouns detected include: I, me, you, he, him, she, her, it, we, us, they, them, one, your, and my.
1 |
text |
string/ headline |
1 2 | headlines_pronouns <- headlines %>%
mutate(num_pronouns = num_pronouns(text = title))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.