Pairwise name combinations (as concatenated strings)
wcor.RdGenerate all 2-combinations of a set of names and return each pair as a single concatenated string (e.g., `"ab"`, `"ac"`, ...).
Details
If `names` is not provided, the first `n` lowercase letters (`letters[1:n]`) are used as default names.
Uses [gtools::combinations()] to generate all unordered pairs of `names`, then concatenates each pair with no separator.
Examples
wcor(4)
#> Error in loadNamespace(x): there is no package called ‘gtools’
wcor(3, c("x", "y", "z"))
#> Error in loadNamespace(x): there is no package called ‘gtools’