plot_topicprop {keyATM} | R Documentation |
Show the expected proportion of the corpus belonging to each topic
Description
Show the expected proportion of the corpus belonging to each topic
Usage
plot_topicprop(
x,
n = 3,
show_topic = NULL,
show_topwords = TRUE,
label_topic = NULL,
order = c("proportion", "topicid"),
xmax = NULL
)
Arguments
x |
the output from a keyATM model (see |
n |
The number of top words to show. Default is |
show_topic |
an integer or a vector. Indicate topics to visualize. Default is |
show_topwords |
logical. Show topwords. The default is |
label_topic |
a character vector. The name of the topics in the plot. |
order |
The order of topics. |
xmax |
a numeric. Indicate the max value on the x axis |
Value
keyATM_fig object
See Also
[Package keyATM version 0.5.2 Index]