Combine two or more topics in a multinomial topic model fit.

merge_topics(fit, k)

Arguments

fit

A multinomial topic model fit.

k

The names or numbers of the topics to be combined. Two or more topics should be chosen.

Value

A multinomial topic model fit.

Details

Mixture proportions are combined by summation, and factors are combined by averaging.