Learn R Programming

quanteda (version 2.0.1)

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