Def_Control_Guess {Colossus} | R Documentation |
Automatically assigns missing guessing control values
Description
Def_Control_Guess
checks and assigns default values
Usage
Def_Control_Guess(guesses_control, a_n)
Arguments
guesses_control |
list of parameters to control how the guessing works, see Def_Control_Guess() for options or vignette("Control_Options") |
a_n |
list of initial parameter values, used to determine number of parameters. May be either a list of vectors or a single vector. |
Value
returns a filled list
See Also
Other Data Cleaning Functions:
Check_Dupe_Columns()
,
Check_Trunc()
,
Check_Verbose()
,
Correct_Formula_Order()
,
Date_Shift()
,
Def_Control()
,
Def_model_control()
,
Def_modelform_fix()
,
Joint_Multiple_Events()
,
Replace_Missing()
,
Time_Since()
,
factorize()
,
factorize_par()
,
gen_time_dep()
,
interact_them()
Examples
library(data.table)
guesses_control <- list(
"maxiter" = 10, "guesses" = 10,
"loglin_min" = -1, "loglin_max" = 1, "loglin_method" = "uniform"
)
a_n <- c(0.1, 2, 1.3)
guesses_control <- Def_Control_Guess(guesses_control, a_n)
[Package Colossus version 1.1.4.2 Index]