sort_topicmodels_LDA_by_lambda: Sort topics of an lda model from topicmodels by lambda

View source: R/sort_topicmodels_LDA_by_lambda.R

sort_topicmodels_LDA_by_lambdaR Documentation

Sort topics of an lda model from topicmodels by lambda

Description

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.

Usage

sort_topicmodels_LDA_by_lambda(ldamodel, lambda = 1, number_terms = 10,
  reorder.topics = TRUE, vocab = vocabulary)

Arguments

vocab

Details

Documentation still to be done...


manuelbickel/textility documentation built on Nov. 25, 2022, 9:07 p.m.