gen_altnames {IFC} | R Documentation |
Alternative Names Generator
Description
Generates unique non matching alternative names
Usage
gen_altnames(
x,
n = 10,
forbidden = character(),
random_seed = list(seed = 252, "Mersenne-Twister", "Inversion", "Rounding")
)
Arguments
x |
a character vector. |
n |
number of characters of the desired returned name. Default is 10. |
forbidden |
forbidden character vector. Default is character(). |
random_seed |
a list of elements to pass to set.seed or a single value, interpreted as an integer, or NULL. Default is list(seed = 0xFC, "Mersenne-Twister", "Inversion", "Rounding"). Note that NA_integer_ or list(seed = NA_integer_) can be used to not call set.seed at all. Note also that the default is chosen because it is compatible with old R version. |
Details
'forbidden' should not encompass all possible returned value otherwise the function will never end.
Value
a character vector.
[Package IFC version 0.2.1 Index]