Show the top topics for each document

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.