myexpand.grid: a version of the expand.grid function that works more...

Description Usage Arguments Value

Description

a version of the expand.grid function that works more intuitively to me

Usage

1
myexpand.grid(..., stringsAsFactors = F)

Arguments

...

varying factors that will appear in combinations in the output

stringsAsFactors

should characters be converted to factors

Value

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.


daniel-conn17/ConnUtilities documentation built on May 7, 2019, 3:09 p.m.