View source: R/HelperFunctions.R
expgrid | R Documentation |
Generate Grid Indices Without expand.grid()
expgrid(vec_list, indices)
vec_list |
List of vectors to combine |
indices |
Indices of combinations to return |
Returns selected combinations from the cartesian product of vec_list
without constructing full expand.grid()
for memory efficiency.
Data frame of selected combinations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.