Description Usage Arguments Value
Plots the attention for a topic over time
1 2 | lda.plot.time(m, topic_nr, time_var, date_interval = "day", pct = F,
value = "relative", return.values = F)
|
m |
The output of |
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 |
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 |
return.values |
Logical. If true, data that is plotted is returned as a data.frame |
The |
index of the topic (1 to K) |
data.frame for plotted values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.