dec_trial: Apply decision rule to trial data

Description Usage Arguments Value

Description

Apply decision rule to trial data

Usage

1
2
dec_trial(trial, fut_k = 0.1, suc_k = 0.9, inf_k = 0.05,
  sup_k = 0.95)

Arguments

trial

Aggregated trial data with estimated probabilities (after call to est_trial_prob).

fut_k

Futility boundary vector. Must has as many elements as the maximum number of interims in 'trial'.

suc_k

Success boundary vector.

inf_k

Inferiority cut-off.

sup_k

Superiority boundary vector.

Value

A new 'data.table' given the decision made and boundaries used


jatotterdell/optimum documentation built on May 29, 2019, 1:24 p.m.