Learn R Programming

quanteda (version 1.3.13)

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
# NOT RUN {
quanteda:::expand(list(c("a", "b", "c"), c("x", "y")))
# }

Run the code above in your browser using DataLab