sample_global_names: Sample globally diverse names

View source: R/catalogues.R

sample_global_namesR Documentation

Sample globally diverse names

Description

Sample globally diverse names

Usage

sample_global_names(n, regions = "all", seed = NULL)

Arguments

n

Number of unique names to draw, at most the number of distinct names the chosen regions hold.

regions

Regions passed to global_names().

seed

Optional seed.

Value

A tidy base data.frame with one row per sampled name and columns order, region and name. A name belonging to more than one region carries them joined by ";".

Examples

sample_global_names(n = 8, seed = 1)

simulab documentation built on Oct. 15, 2026, 5:08 p.m.