Ensures there are n
number of names in name
. If
not, permutations of the values in name
are catentated together to
reeach the requestion amount. This function can also be used to make
n
number of unique names by passing NA
to name
, in
which case the default is to use LETTERS
.
prep_node_names(n, name = c())
n | number of names desired |
---|---|
name | a vector of names; default is |
a vector of n
unique names
prep_node_names(5)#> [1] "A" "B" "C" "D" "E"#> [1] "AB" "AC" "AD" "AE" "AF" "AG"