class_binom_two_bryantday: Class '"binom_two_bryantday"'

Description Objects from the Class Slots Methods References Examples

Description

This is the S4 class for constructing Bryant and Day designs. This can be converted to the standard format using properties.

Objects from the Class

Objects can be created by calls of the form new("binom_two_bryantday", ...).

Slots

optimal:

Object of class "data.frame", single row data.frame containing the optimal design under H0

minmax:

Object of class "data.frame", Single row data.frame containing the minmax design under H0

all.fit:

Object of class "data.frame", A data.frame containing all designs which satisfy the required alpha and power specified for the trial

Methods

properties

signature(x = "binom_two_bryantday")(x, t, r, pra, prb, pta, ptb, futility_critical_value = 0.2, efficacy_critical_value = 0.35, toxicity_critical_value = 0.3, no_toxicity_critical_value = 0.1)

x

Class object which you wish to get properties for

t,r

A vector of the probability of response and toxicity for the simulation scenarios used to compute frequentist properties. The print function requires the first to be the alternative hypothesis and subsequent entries to be the three null hypotheses. This can be run with any scenario when not using the print method

reviews

A vector of the number of patients each interim and final analysis will occur at

pra, prb, pta, ptb

Numeric values for the beta prior distribution to be used

futility_critical_value, efficacy_critical_value, toxicity_critical_value, no_toxicity_critical_value

Four values, for the critical values to be used as thresholds for the posterior distribution

References

Bryant J, Day R. Incorporating toxicity considerations into the design of two-stage phase II clinical trials. Biometrics 1995; 51: 1372-1383.

Examples

1
showClass("binom_two_bryantday")

Example output

Loading required package: shiny
Loading required package: VGAM
Loading required package: stats4
Loading required package: splines
Loading required package: data.table
Loading required package: plyr
Loading required package: clinfun
Class "binom_two_bryantday" [package "EurosarcBayes"]

Slots:
                                       
Name:     optimal     minmax    all.fit
Class: data.frame data.frame data.frame

EurosarcBayes documentation built on May 2, 2019, 9:20 a.m.