expgrid: Generate Grid Indices Without expand.grid()

View source: R/HelperFunctions.R

expgridR Documentation

Generate Grid Indices Without expand.grid()

Description

Generate Grid Indices Without expand.grid()

Usage

expgrid(vec_list, indices)

Arguments

vec_list

List of vectors to combine

indices

Indices of combinations to return

Details

Returns selected combinations from the cartesian product of vec_list without constructing full expand.grid() for memory efficiency.

Value

Data frame of selected combinations


lgspline documentation built on June 8, 2025, 10:45 a.m.