expand.list {targeted} | R 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"))
[Package targeted version 0.5 Index]