topic.number: Estimate the correct number of hidden topics to choose.

Description Usage Arguments Details Value Examples

Description

This function provides a plot to assist a user in identifying the correct numner of k topics.

Usage

1
topic.number(data.td, k = 16)

Arguments

data.td

A tidy dataset

k

A user defined number of topics to identify

Details

This function allows for the effective transition of data into the ldatuning package. Provided the number of topics k, the function will generate both a maximization and minization plot indicating the optimal estimated number of topics for a specified corpus.

Value

Plot indicating the estimated number of topics found within the corpus, data.td

Examples

1
topic.number(Articles,k=50)

JSmith146/CoRpEx documentation built on May 17, 2019, 10:11 p.m.