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/quanteda.seededlda documentation built on Jan. 26, 2025, 11:42 a.m.