constraints: Create a set of constraints

View source: R/interface.R

constraintsR Documentation

Create a set of constraints

Description

Create a set of constraints

Usage

constraints(name, out, hyp, nom, delta, binary)

Arguments

name

character vector of constraint names.

out

character vector denoting which simulation output each constraint pertains to.

hyp

character vector denoting which hypothesis each constraint pertains to.

nom

numeric vector of nominal upper limits.

delta

numeric vector of probabilities.

binary

boolean vector denoting if the constraint output is binary or otherwise.

Value

A data.frame defining the constraints.

Examples

constraints(name = c("tII"),
            out = c("s"),
            hyp = c("alt"),
            nom = c(0.1),
            delta = c(0.95),
            binary = c(TRUE))


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