Learn R Programming

linear.tools (version 1.3.0)

expand_grid: a wrap up of expand.grid() that takes list

Description

a wrap up of expand.grid() that takes list

Usage

expand_grid(List, KEEP.OUT.ATTRS = TRUE, stringsAsFactors = TRUE)

Arguments

List
a list same as '...' in expand_grid(),
KEEP.OUT.ATTRS
stringsAsFactors, stringsAsFactors see expand_grid()

Value

Tsee expand_grid()

Examples

Run this code
expand_grid(list(A= c(1:3),b= letters[1:4]))
expand_grid(List = list(c(1:3)))

Run the code above in your browser using DataLab