View source: R/sort_topicmodels_LDA_by_lambda.R
sort_topicmodels_LDA_by_lambda | R Documentation |
This function is largely a copy of the code parts from the LDAvis package for the function createJSON(): https://github.com/cpsievert/LDAvis/blob/master/R/createJSON However, it was customized to accept LDA from from topicmodels package.
sort_topicmodels_LDA_by_lambda(ldamodel, lambda = 1, number_terms = 10, reorder.topics = TRUE, vocab = vocabulary)
vocab |
Documentation still to be done...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.