Create All Possible Combinations of Vector Elements with Minimum A and Maximum B.
Source:R/utils.R
combn_upto.Rd
Create All Possible Combinations of Vector Elements with Minimum A and Maximum B.
Examples
combn_upto()
#> $`c("a", "b", "c", "d", "e", "f", "g")`
#> [1] "a" "b" "c" "d" "e" "f" "g"
#>
#> $`c("b", "c", "d", "e", "f", "g")`
#> [1] "b" "c" "d" "e" "f" "g"
#>
#> $`c("a", "c", "d", "e", "f", "g")`
#> [1] "a" "c" "d" "e" "f" "g"
#>
#> $`c("a", "b", "d", "e", "f", "g")`
#> [1] "a" "b" "d" "e" "f" "g"
#>
#> $`c("a", "b", "c", "e", "f", "g")`
#> [1] "a" "b" "c" "e" "f" "g"
#>
#> $`c("a", "b", "c", "d", "f", "g")`
#> [1] "a" "b" "c" "d" "f" "g"
#>
#> $`c("a", "b", "c", "d", "e", "g")`
#> [1] "a" "b" "c" "d" "e" "g"
#>
#> $`c("a", "b", "c", "d", "e", "f")`
#> [1] "a" "b" "c" "d" "e" "f"
#>