For top.topic.words, a K \times V matrix where each entry is a numeric proportional
to the probability of seeing the word (column) conditioned on topic
(row) (this entry is sometimes denoted β_{w,k} in the
literature, see details). The column names should correspond to the words in the
vocabulary. The topics field from the output of
lda.collapsed.gibbs.sampler can be used.
num.words
For top.topic.words, the number of top words to return for each topic.
document_sums
For top.topic.documents, a K \times D matrix where each entry is a numeric proportional
to the probability of seeing a topic (row) conditioned on the
document (column) (this entry is sometimes denoted θ_{d,k} in the
literature, see details). The document_sums field from the output of
lda.collapsed.gibbs.sampler can be used.
num.documents
For top.topic.documents, the number of top documents to return for each topic.
by.score
If by.score is set to FALSE (default), then words in
each topic will
be ranked according to probability mass for each word β_{w,
k}. If by.score is TRUE, then words will be
ranked according to a score defined by β_{w, k} (log
β_{w,k} - 1 / K ∑_{k'} log β_{w,k'}).
alpha
Value
For top.topic.words, a num.words \times K character matrix where each column contains
the top words for that topic.
For top.topic.documents, a num.documents \times K integer matrix where each column contains
the top documents for that topic. The entries in the matrix are
column-indexed references into document_sums.