powered by
Helper function to determine the number of topics in a topic model
n_topics(topic_model)
an integer indicating the number of topics in the topic model
a fitted topic model object from one of the following: tm-class
tm-class