powered by
Make a name from randomly sampled characters, pasted together with no spaces
RandomName(length = 5L, chars = letters, ...)
A character with nchar == length of randomly sampled letters
nchar == length
How long should the name be
A vector of 1-length characters to use to generate the name
Extra parameters passed to sample
sample
set.seed(42L) RandomName() RandomName(7L, replace = TRUE)
Run the code above in your browser using DataLab