af.lda | R Documentation |
Applies topicmodels::LDA to a character vector containing documents.
af.lda(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, alpha = NULL, delta = NULL, method = "Gibbs", seed1 = 0, control = list(nstart = 1, seed = NULL, alpha = NULL, delta = NULL, best = T, burnin = 4000, iter = 1000, thin = 500), dtm = NULL, stopwords = NULL, attrData = F, plot.kLDA = T, trace = T, lowercase = T)
data |
Character vector containing data. |
k |
Number of topics. If length(k)>1, kLDA 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.