make_args: make_args

View source: R/DexiFunctions.R

make_argsR Documentation

make_args

Description

Make a list of all possible combinations of values in a decision space defined by dim.

Usage

make_args(dim)

Arguments

dim

A numeric vector containing upper bounds of the corresponding decision space dimensions. For example, dim = c(3, 4) defines the space of 3 * 4 == 12 combinations.

Value

A list containing all possible value combinations. List elements are numeric vectors of length equal to length(dim).

Examples

make_args(c(3, 4))


DEXiR documentation built on Sept. 30, 2024, 9:39 a.m.