top_topics: Show the top topics for each document

View source: R/posterior.R

top_topicsR Documentation

Show the top topics for each document

Description

Show the top topics for each document

Usage

top_topics(x, n = 2)

Arguments

x

the output from a keyATM model (see keyATM()).

n

integer. The number of topics to show. Default is 2.

Value

An n x k table of the top n topics in each document.


keyATM documentation built on May 31, 2023, 6:27 p.m.