topwords: Calculates topwords for estimated model topics

Description Usage Arguments Details Value See Also

View source: R/topwords.R

Description

Calculates topwords for estimated model topics

Usage

1
topwords(logbeta, n = 10, w = 0.5, wordcounts = NULL)

Arguments

logbeta

Estimates returned from readSits()

n

Number of top words to return.

w

A weight used in STM's FREX scoring algorithm.

wordcounts

A vector of wordcounts for each unique word in vocabulary.

Details

...

Value

List of highest probability words per topic and FREX words per topic.

See Also

labelTopics, calcfrex


erossiter/sitsr documentation built on May 23, 2019, 7:34 a.m.