dtm2topic: Convert a data frame to a document-term matrix.

View source: R/dtm2topic.R

dtm2topicR Documentation

Convert a data frame to a document-term matrix.

Description

Convert a data frame to a document-term matrix.

Usage

dtm2topic(
  dtm,
  n_topics = 25L,
  label_n = 15,
  include_tsne = T,
  perplexity = 15,
  verbose = FALSE,
  seed = 99
)

Arguments

dtm

a sparse matrix

n_topics

an integer

label_n

an integer

include_tsne

Boolean

perplexity

an integer

verbose

boolean

seed

an integer

Value

A list of data frames


jaytimm/text2df documentation built on July 21, 2023, 1:58 a.m.