Learn R Programming

SeuratObject (version 4.0.3)

RandomName: Generate a random name

Description

Make a name from randomly sampled lowercase letters, pasted together with no spaces or other characters

Usage

RandomName(length = 5L, ...)

Arguments

length

How long should the name be

...

Extra parameters passed to sample

Value

A character with nchar == length of randomly sampled letters

See Also

sample

Examples

Run this code
# NOT RUN {
set.seed(42L)
RandomName()
RandomName(7L, replace = TRUE)

# }

Run the code above in your browser using DataLab