expand.grids | R Documentation |
expand.grid() function for increasing dimension d mimics $d$ nested for loops with elements from $x$.
expand.grids(x, d)
x |
vector of elements to be looped over |
d |
number of nested for loops |
d x length(x) matrix with each row giving the next iteration of loop
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.