class_binom_two_singlestage: Class '"binom_two_singlestage"'

Description Objects from the Class Slots Methods Examples

Description

This class is created from the function freq_binom_two_singlestage. This is an intermediate stage to generate an object of class trialDesign_binom_two.

Objects from the Class

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

Slots

optimal:

Object of class "data.frame", Optimal trial design

output:

Object of class "data.frame", list of all acceptable trial designs

Methods

properties

signature(x = "binom_two_singlestage")(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

Returns an object of class trialDesign_binom_two.

Examples

1
showClass("binom_two_singlestage")

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