Def_Control_Guess | R Documentation |
Def_Control_Guess
checks and assigns default values
Def_Control_Guess(guesses_control, a_n)
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 the number of parameters. May be either a list of vectors or a single vector. |
returns a filled list
Other Data Cleaning Functions:
Check_Dupe_Columns()
,
Check_Trunc()
,
Check_Verbose()
,
Convert_Model_Eq()
,
Correct_Formula_Order()
,
Date_Shift()
,
Def_Control()
,
Def_model_control()
,
Def_modelform_fix()
,
Event_Count_Gen()
,
Event_Time_Gen()
,
Joint_Multiple_Events()
,
Replace_Missing()
,
Time_Since()
,
factorize()
,
factorize_par()
,
gen_time_dep()
,
interact_them()
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.