Learn R Programming

quanteda (version 4.1.0)

expand: Simpler and faster version of expand.grid() in base package

Description

Simpler and faster version of expand.grid() in base package

Usage

expand(elem)

Arguments

elem

list of elements to be combined

Examples

Run this code
quanteda:::expand(list(c("a", "b", "c"), c("x", "y")))

Run the code above in your browser using DataLab