estTopics: estTopics

Description Usage Arguments Value Examples

View source: R/topicmodellingFunctions.R

Description

Produce a plot with using 4 optimisationg techniques to determine range of optimal topic numbers for the LDA model.

Usage

1
2
estTopics(tweetDataFrameTokenized, minTopics = 2, maxTopics = 30,
  stepNum = 1)

Arguments

tweetDataFrameTokenized

Dataframe object containing word tokens from tweets (Output of tokenizeTweets())

minTopics

Lower bound of topics to be optimised over.

maxTopics

Upper bound of topics to be optimised over.

stepNum

Optimisation step amount. (1 will take longer but be more accurate)

Value

Optimised range of topics for specific data frame variable.

Examples

1
estTopics(tweetDataFrameTokenized,2,30,1

jakubk28/TwitterDMTools documentation built on June 25, 2021, 4:12 p.m.