Check if Variable is Already Initialized
already_init_variable.Rd
This function checks if a variable is already initialized in the variable list.
Arguments
- list_var
A list object representing the variable list.
- new_var_name
A character string specifying the name of the new variable.
Examples
my_list <- list(var1 = 1, var2 = 2, var3 = 3)
already_initialized <- already_init_variable(list_var = my_list, new_var_name = "myVariable")