af.ctm: Function af.ctm

af.ctmR Documentation

Function af.ctm

Description

Applies topicmodels::CTM to a character vector containing documents.

Usage

af.ctm(data = c("a b c d e f g h i j k l m n o p", "a b c Hello World"),
  k = 3, method = "VEM", seed1 = 0, control = list(nstart = 10,
  seed = NULL, best = T, burnin = 4000, iter = 2000, thin = 500),
  dtm = NULL, attrData = F, lowercase = T)

Arguments

data

Character vector containing data.

k

Number of topics. If length(k)>1, kCTM will be applied to suggest an optimal number of topics.


AndreasFischer1985/quantqual documentation built on June 20, 2022, 4:55 p.m.