This function provides a simple creation and definition of the list used to control the set of LDA models. It is set up to be easy to work with the existing control capacity of LDA.

LDA_set_control(quiet = FALSE, measurer = AIC, selector = min,
  iseed = 2, ...)

Arguments

quiet

logical indicator of whether the model should run quietly.

measurer, selector

Function names for use in evaluation of the LDA models. measurer is used to create a value for each model and selector operates on the values to choose the model(s) to pass on.

iseed

integer initial seed for the model set.

...

Additional arguments to be passed to LDA as a control input.

Value

list for controlling the LDA model fit.

Examples

  LDA_set_control()