Currently, the stopwords argument for text mining functions such as tm_cooc() requires passing a data frame with a single column header word to it. For many users, this is not intuitive and passing a character vector would make much more sense. An improvement (that preserves backward compatibility) is to enable both a data frame and a character vector to be passed to this argument.
Currently, the
stopwordsargument for text mining functions such astm_cooc()requires passing a data frame with a single column headerwordto it. For many users, this is not intuitive and passing a character vector would make much more sense. An improvement (that preserves backward compatibility) is to enable both a data frame and a character vector to be passed to this argument.