combinationList: combinationList

View source: R/listOps.R

combinationListR Documentation

combinationList

Description

get a list of all combinations of vectors. Basically a wrapper around expand.grid

Usage

combinationList(...)

Arguments

...

vectors of elements. Ideally named

Value

a list containing all combinations of elements in the input. Each element contains a unique combination

Examples

combinationList(a=letters[1:5], A=LETTERS[1:3], i=1:4) 

demuellae/muRtools documentation built on Nov. 6, 2024, 9:44 a.m.