R/calculate_next_integer.R
calculate_next_integer.Rd
Calculates maximum of a vector and adds one after removing all letters despite casing
calculate_next_integer(id_vector, sampled = FALSE)
id_vector | vector of length of 1 or greater of combination of letters and strings. |
---|---|
sampled | if TRUE, will add a number from 1 to 9 at random instead of adding 1. |