top_words: Show the top words for each topic

Description Usage Arguments Value

Description

If show_keyword is true then words in their seeded categories are suffixed with a check mark. Words from another seeded category are labeled with the name of that category.

Usage

1
2
top_words(x, n = 10, measure = c("probability", "lift"),
  show_keyword = TRUE)

Arguments

x

the output (see keyATM() and by_strata_TopicWord())

n

How many terms to show. Default: NULL, which shows all

measure

How to sort the terms: 'probability' (default) or 'lift'

show_keyword

Mark keywords. (default: TRUE)

Value

An n x k table of the top n words in each topic


Shusei-E/keyATM documentation built on Dec. 23, 2019, 6:34 p.m.