Description Usage Arguments Value Author(s) Examples
edit_twitter replaces hashtags and username mentions.
1 | edit_twitter(text, replacement = c("<HASHTAG>", "<@USERNAME>"))
|
text |
The text variable. |
replacement |
Character vector whose first element replaces the hashtags, and second element replaces the username mentions. |
Returns a character vector with hashtags and username mentions replaced.
Achilleas Passias
1 2 3 4 | text <- c("#hashtag", "@username")
edit_twitter(text)
edit_twitter(text, replacement = c("", ""))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.