plot_lda_term {miRetrieve}R Documentation

Plot terms associated with LDA-fitted topics

Description

Plot terms associated with LDA-fitted topics.

Usage

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.

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.

Value

Bar plot with top terms per topic.

See Also

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


[Package miRetrieve version 1.3.4 Index]