Get the number of digits of an integer variable.
Examples
# Example data frame
my_data <- dummy_data(100)
my_data[["age_length"]] <- get_integer_length(my_data[["age"]])
Get the number of digits of an integer variable.
# Example data frame
my_data <- dummy_data(100)
my_data[["age_length"]] <- get_integer_length(my_data[["age"]])