sizes: Compute the sizes of topics

View source: R/utils.R

sizesR Documentation

Compute the sizes of topics

Description

Compute the sizes of topics as the proportions of topic words in the corpus.

Usage

sizes(x)

Arguments

x

a LDA model fitted by textmodel_seededlda() or textmodel_lda()

Value

a numeric vector in the same lengths as k.


koheiw/seededlda documentation built on Jan. 23, 2025, 3:14 p.m.