This is equivalent to `plot(stm_res, type = "symmary")`, but it uses `ggplot2` and looks nicer. Adapted from Julia Silge's blog.

plot_topic_prop(stm_res, n_top = 5, x_max = 0.15)

Arguments

stm_res

A `STM` object.

n_top

Number of top words to show per topic.

x_max

Max in the x axis so all words will show in the plot.

Value

A ggplot object