Description Usage Arguments Value
Plots the attention for a topic per category
1 2 | lda.plot.category(m, topic_nr, category_var, pct = F, value = "total",
return.values = F)
|
m |
The output of |
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) |
data.frame for plotted values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.