random_names: Get random names

View source: R/random_names.R

random_namesR Documentation

Get random names

Description

Get random names

Usage

random_names(n = 1, namelist = "docker", wordsep = "_", alliterate = FALSE)

Arguments

n

Number of names needed. If n is greater than number of possible word combinations, a number will be added as a suffix.

namelist

A name list. Either a character that corresponds to one of the name lists included in the package or a list with character arrays that includes custom words to be combined. Custom word lists can have as many character vectors as desired. A word from each character list will be chose randomly. Name of the elements are not used. See ?namelists for a list of available name lists.

wordsep

Character to be used when separating the words

alliterate

Value

A character vector of length n.

Examples

random_names(n=4, namelist = 'docker')

oganm/randomNames documentation built on March 14, 2024, 6:22 p.m.