lda.plot.category: Plots topic values per category

Description Usage Arguments Value

Description

Plots the attention for a topic per category

Usage

1
2
lda.plot.category(m, topic_nr, category_var, pct = F, value = "total",
  return.values = F)

Arguments

m

The output of LDA

category_var

A vector with id values of the same length and order of the documents (rows) in m$document_sums

pct

Show topic values as percentages

value

Show topic values as 'total', or as 'relative' to the attention for other topics

return.values

Logical. If true, data that is plotted is returned as a data.frame

The

index of the topic (1 to K)

Value

data.frame for plotted values


kasperwelbers/corpus-tools documentation built on May 20, 2019, 7:37 a.m.