af.stm | R Documentation |
Applies stm::stm to a character vector containing documents.
af.stm(data = c("a b c d e f g h i j k l m n o p", "a b c Hello World"), k = 2:10, lower.thresh = 0, lowercase = T, removestopwords = F, removenumbers = F, removepunctuation = T, stem = F, language = "german", wordLengths = c(0, Inf), sparselevel = 1, verbose = TRUE, onlycharacter = FALSE, striphtml = F, seed1 = 0, attrData = F, plot.kSTM = T, init.type = "LDA", ...)
data |
Character vector containing data. |
k |
Number of topics. If length(k)>1, kSTM will be applied to suggest an optimal number of topics. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.