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

Description Usage Arguments Examples

View source: R/pattern2fixed.R

Description

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

Usage

1
expand(elem)

Arguments

elem

list of elements to be combined

Examples

1
quanteda.core:::expand(list(c("a", "b", "c"), c("x", "y")))

koheiw/quanteda.core documentation built on Sept. 21, 2020, 3:44 p.m.