gen_combn: generate all combinations

View source: R/stat.R

gen_combnR Documentation

generate all combinations

Description

generate all combinations

Usage

gen_combn(x, n = 2)

Arguments

x

vector

n

numbers of element to combine

Value

all combinations

Examples

gen_combn(1:4, n = 2)


baizer documentation built on Oct. 19, 2023, 9:07 a.m.