cartesianExpand: expands two data.frames using the Cartesian product

Description Usage Arguments Value Examples

View source: R/grid.R

Description

takes the cartesian product of two data.frames

Usage

1

Arguments

x

a data.frame

y

a data.frame

Value

a data.frame

Examples

1
2
3
x = data.frame("a" = 1:5, "b" = 6:10)
y = data.frame("z" = letters[1:5], "y" = letters[6:10])
cartesianExpand(x, y)

mmpf documentation built on Oct. 24, 2018, 9:04 a.m.