Plot terms associated with LDA-fitted topics.

plot_lda_term(lda_model, top.terms = 10, title = NULL)

Arguments

lda_model

LDA-model.

top.terms

Integer. Top terms to plot per topic.

title

String. Plot title.

Value

Bar plot with top terms per topic.

Details

Plot terms associated with LDA-fitted topics. For each topic in the LDA-model, the top terms are plotted. Plotting top.terms for each topic can help identifying its subject.

See also

Other LDA functions: assign_topic_lda(), fit_lda(), plot_perplexity()