expgrid {lgspline}R 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


[Package lgspline version 0.2.0 Index]