text_best_n_topics: Select best number of topics for LDA

Description Usage Arguments Value Examples

View source: R/text_best_n_topics.R

Description

Select best number of topics for LDA

Usage

1
text_best_n_topics(data_dtm, k_opts)

Arguments

data_dtm

Document-Term matrix as prepared by text_dtm_prep

k_opts

integer vector of numbers of topics to be considered

Value

single integer: best number of topics

Examples

1
2

DataS-DHSC/consultations documentation built on Jan. 28, 2022, 1:56 a.m.