af.ctm | R Documentation |
Applies topicmodels::CTM to a character vector containing documents.
af.ctm(data = c("a b c d e f g h i j k l m n o p", "a b c Hello World"), k = 3, method = "VEM", seed1 = 0, control = list(nstart = 10, seed = NULL, best = T, burnin = 4000, iter = 2000, thin = 500), dtm = NULL, attrData = F, lowercase = T)
data |
Character vector containing data. |
k |
Number of topics. If length(k)>1, kCTM 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.