View source: R/calculate_next_integer.R
Calculates maximum of a vector and adds one after removing all letters despite casing
1 | 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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.