prep_LDA_control: Set the control inputs to include the seed

View source: R/LDA.R

prep_LDA_controlR Documentation

Set the control inputs to include the seed

Description

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

Usage

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) 


LDATS documentation built on Sept. 19, 2023, 5:08 p.m.