n_topics: Helper function to determine the number of topics in a topic...

Description Usage Arguments Value

View source: R/topic_diagnostics.R

Description

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

Usage

1
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


topicdoc documentation built on Oct. 30, 2019, 11:26 a.m.