combn_upto {saros}R Documentation

Create All Possible Combinations of Vector Elements with Minimum A and Maximum B.

Description

Create All Possible Combinations of Vector Elements with Minimum A and Maximum B.

Usage

combn_upto(
  vec = c("a", "b", "c", "d", "e", "f", "g"),
  n_min = 6L,
  n_max = length(vec)
)

Arguments

vec

Vector

n_min

Minimum number of elements

n_max

Maximum number of elements. Defaults to length of vec.

Value

A data frame

Examples

combn_upto()

[Package saros version 1.0.4 Index]