expand.grid.nodup: Combinations without duplications
Description
This is similar to expand.grid() except that combinations with repeated
elements are not included. The element "*" is treated separately, and is
allowed to be repeated.
Usage
expand.grid.nodup(lst, max = 1e+05)
Value
A data frame.
Arguments
lst
A list of vectors.
max
A positive integer. If the number of combinations (according to a
preliminary lower bound) exceeds this, the function aborts with an
informative error message. Default: 1e5.