buildCombMatrix: buildCombMatrix

Description Usage Arguments Value Examples

View source: R/misc.R

Description

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

Usage

1
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

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

pipeComp documentation built on Nov. 8, 2020, 7:35 p.m.