Skip to contents

Samples random names

Usage

sample_names(n = 1, type = "neutral", seed = NULL)

Arguments

n

Number of names

type

"neutral", "male", "female", or "mixed"

seed

A seed for the random number generator.

Value

A character vector with random names

Examples

sample_names(3)
#> [1] "Parris" "Regan"  "Storm"