Skip to contents

Create a set of objectives

Usage

objectives(name, out, hyp, weight, binary = NULL)

Arguments

name

character vector of objective names.

out

character vector denoting which simulation output each objective pertains to.

hyp

character vector denoting which hypothesis each objective pertains to.

weight

numeric vector of weights assigned to each objective.

binary

optional boolean vector denoting if the output of the objective function is binary (TRUE) or continuous (FALSE).

Value

A data.frame defining the objectives.

Examples

objectives(name = c("min_n", "min_k"),
                     out = c("n", "k"),
                     hyp = c("alt", "alt"),
                     weight = c(10, 1))
#>    name out hyp weight
#> 1 min_n   n alt     10
#> 2 min_k   k alt      1