objectives: Create a set of objectives

View source: R/interface.R

objectivesR Documentation

Create a set of objectives

Description

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))


DTWilson/BOSSS documentation built on April 14, 2025, 8:35 a.m.