random_from_set: Choose random element from set

View source: R/basic_types.R

random_from_setR Documentation

Choose random element from set

Description

Choose random element from set

Usage

random_from_set(set)

Arguments

set

vector, set of values to choose from

Value

a single element from a given set

Examples

random_from_set(c("a", "b", "c"))

fixtuRes documentation built on March 18, 2022, 6:13 p.m.