plotLDA: Function plotLDA

plotLDAR Documentation

Function plotLDA

Description

Plots topic document distribution and topic descriptions.

Usage

plotLDA(lda = NULL, labels = NULL,
  main = "Topic distribution over documents", border = NA, space = 0,
  stopwords = NULL, cex = 0.7, srt = 45, plot = T)

Arguments

lda

Object of class LDA.

labels

character vector with document labels.

srt

Numeric value specifying the rotation of the x-axis (between 0 and 360 degrees). Defaults to 45.

Details

Plots topic document distribution and topic descriptions based on a topicmodels::LDA object.

Examples

l=af.lda(c("Hello world","Hallo Welt"));plotLDA(l)

AndreasFischer1985/quantqual documentation built on June 20, 2022, 4:55 p.m.