plotSTM: Function plotSTM

plotSTMR Documentation

Function plotSTM

Description

Plots topic document distribution and topic descriptions based on an stm object.

Usage

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

Arguments

stm

Object of class stm.

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 an stm object.

Examples

s=af.stm(c("Hello world","Hallo Welt"));plotSTM(s)

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