get_td_beta | R Documentation |
get a broom::tidy matrix containing the probabiliies each word is generated from each topic
get_td_beta(topicModel)
topicModel |
the stm topic model from which to extract the beta matrix |
a tbl_df with columns "topic", "term", and "beta"
## Not run:
data("tm_ex_dat")
get_td_beta(tm_ex_dat$topic_model_test)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.