assess_tm_quality: Transform the documents stored in a dataframe in a bag of...

Description Usage Arguments Value

Description

Transform the documents stored in a dataframe in a bag of words.

Usage

1
2
3
assess_tm_quality(doc_to_term = NA, topic_nbr = c(0),
  prevalence = NA, init.type = "Spectral", seed_nbr = 1,
  keywords = NA, topic_per_doc = 1, terms_per_topic = 5)

Arguments

doc_to_term

dtm object.

topic_nbr

Numeric vector

prevalence

Formula

init.type

Character.

seed_nbr

Numeric vector

keywords

Tibble.

topic_per_doc

Integer.

terms_per_topic

Integer.

Value

A tibble with various metrics of tm quality for each possible combination of the topic number and seed


NicolasJBM/lexana documentation built on July 3, 2019, 10 a.m.