Update the control list for the LDA model with the specific seed as indicated. And remove controls not used within the LDA itself.

prep_LDA_control(seed, control = list())

Arguments

seed

integer used to set the seed of the specific model.

control

Named list of control parameters to be used in LDA Note that if control has an element named seed it will be overwritten by the seed argument of prep_LDA_control.

Value

list of controls to be used in the LDA.

Examples

  prep_LDA_control(seed = 1)