plot_topicprop | R Documentation |
Show the expected proportion of the corpus belonging to each topic
plot_topicprop(
x,
n = 3,
show_topic = NULL,
show_topwords = TRUE,
label_topic = NULL,
order = c("proportion", "topicid"),
xmax = NULL
)
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 |
keyATM_fig object
save_fig()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.