R/plots.R
plot_topicprop.Rd
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
)
the output from a keyATM model (see keyATM()
).
The number of top words to show. Default is 3
.
an integer or a vector. Indicate topics to visualize. Default is NULL
.
logical. Show topwords. The default is TRUE
.
a character vector. The name of the topics in the plot.
The order of topics.
a numeric. Indicate the max value on the x axis
keyATM_fig object