Learn R Programming

gimme (version 0.7-18)

expand.grid.unique: Provides unique combinations of two vectors.

Description

Provides unique combinations of two vectors.

Usage

expand.grid.unique(x, y, incl.eq = TRUE)

Value

The unique combinations of the variable names. Used in syntax creation.

Arguments

x

A character vector containing variable names.

y

A character vector containing variable names.

incl.eq

Logical. TRUE means that combinations are kept where a variable appears twice.