expand.grids | R Documentation |
Generalization of base::expand.grid to more than 2 variables.
expand.grids(d = length(list(...)), ...)
d |
number of variables (taken in following arguments with modulo) |
... |
variables to combine, as arrays of values |
data frame of all possible combinations of variables values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.