lda.plot.topic: Plots topic wordcloud, and attention over time and per...

Description Usage Arguments Value

Description

Plots plot.wordcloud, plot.time and plot.category

Usage

1
2
lda.plot.topic(m, topic_nr, time_var, category_var, date_interval = "day",
  pct = F, value = "relative", ...)

Arguments

m

The output of collapsed.gibbs.sampler

time_var

A vector with time stamps (either numeric or Date class) of the same length and order of the documents (rows) in m$document_sums

category_var

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

date_interval

The interval for plotting the values over time. Can be: 'day', 'week', 'month' or 'year'

pct

Show topic values as percentages

value

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

...

Additional options passed to lda.plot.wordcloud

The

index of the topic (1 to K)

Value

Nothing, just plots


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