n_topics {topicdoc}R Documentation

Helper function to determine the number of topics in a topic model

Description

Helper function to determine the number of topics in a topic model

Usage

n_topics(topic_model)

Arguments

topic_model

a fitted topic model object from one of the following: tm-class

Value

an integer indicating the number of topics in the topic model


[Package topicdoc version 0.1.1 Index]