Strategy-class | R Documentation |
Strategy
] classThis class defines the Mixmod strategies.
list of character string with the estimation algorithm. Possible values: "EM", "SEM", "CEM", c("EM","SEM"). Default value is "EM".
integer defining the number of tries. Default value: 1.
a character string with the method of initialization of the algorithm specified in the algo
argument. Possible values: "random", "smallEM", "CEM", "SEMMax", "parameter", "label". Default value: "smallEM".
integer defining number of tries in initMethod
algorithm. Default value: 50.
integer defining the number of "EM" or "SEM" iterations in initMethod
. Default values: 5
if initMethod
is "smallEM" and 100 if initMethod
is "SEMMax".
list of integers defining the number of iterations if user want to use nbIteration as rule to stop the algorithm(s). Default value: 200.
real defining the epsilon value in the initialization step. Only available if initMethod
is
"smallEM". Default value: 0.001.
list of reals defining the epsilon value for the algorithm. Warning: epsilonInAlgo doesn't have any
sense if algo
is SEM, so it needs to be set as NaN in that case. Default value: 0.001.
integer defining the seed of the random number generator. Setting a particular seed allows the user to (re)-generate a particular sequence of random numbers. Default value is NULL, i.e. a random seed.
instance of "Parameter" subclass. Required if initMethod is "parameter", forbidden otherwise.
vector of integers containing labels. Required if initMethod is "label", forbidden otherwise.
new("Strategy")
new("Strategy", algo = "SEM", initMethod = "SEMMax")
getSlots("Strategy")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.