Description Usage Arguments Value
a version of the expand.grid function that works more intuitively to me
1 | myexpand.grid(..., stringsAsFactors = F)
|
... |
varying factors that will appear in combinations in the output |
stringsAsFactors |
should characters be converted to factors |
Like expand.grid, "a data.frame containing a row for every combination of supplied factors." The main difference is that the first factor varies the slowest and, the last factor varies the slowest. The names of the factors are used as the names in the data.frame. Also, stringsAsFactors is set to FALSE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.