expand.list: Create a list from all combination of input variables

View source: R/expand.list.R

expand.listR Documentation

Create a list from all combination of input variables

Description

Similar to expand.grid function, this function creates all combinations of the input arguments but returns the result as a list.

Usage

expand.list(...)

Arguments

...

input variables

Value

list

Author(s)

Klaus Kähler Holst

Examples

expand.list(x=2:4, z=c("a","b"))

targeted documentation built on May 29, 2024, 2:08 a.m.