buildCombMatrix {pipeComp}R Documentation

buildCombMatrix

Description

Builds a matrix of parameter combinations from a list of alternative values.

Usage

buildCombMatrix(alt, returnIndexMatrix = FALSE)

Arguments

alt

A named list of alternative parameter values

returnIndexMatrix

Logical; whether to return a matrix of indices, rather than a data.frame of factors.

Value

a matrix or data.frame

Examples

buildCombMatrix(list(param1=LETTERS[1:3], param2=1:2))

[Package pipeComp version 1.2.0 Index]