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

View source: R/expand.grid.unique.R

expand.grid.uniqueR Documentation

Provides unique combinations of two vectors.

Description

Provides unique combinations of two vectors.

Usage

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

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.

Value

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


gimme documentation built on June 22, 2024, 9:30 a.m.