removeStopWords: removeStopWords

Description Usage Arguments Value Examples

View source: R/dataFunctions.R

Description

Call and remove stop words from the tokenized tweet data set, stop words include common words that are not interesting for analysis (the,and, a, ...)

Usage

1
removeStopWords(tweetDataFrameTokenized, extraStopWords = NULL)

Arguments

tweetDataFrameTokenized

Dataframe object containing word tokens from tweets (Output of tokenizeTweets())

extraStopWords

If there are extra words to exclude from the analysis enter them here, format: "c("word1","word2")

Value

Tokenized Tweets data frame excluding stop words.

Examples

1
removeStopWords(tweetDataFrameTokenized) removeStopWords(tweetDataFrameTokenized,c("tree","garden"))

jakubk28/TwitterDMTools documentation built on June 25, 2021, 4:12 p.m.