Generates random names.
rNames(n, nchar = 3L)
Number of names.
Maximal number of characters for each name.
A character vector of valid names.
This function is a utility function for tests concerning the parsing of formulas.
set.seed(31415)
rNames(4)
#> [1] "AE" "UAI" "OL" "A"
rNames(4, nchar = 6)
#> [1] "IAG" "AHR" "A" "CDA"