class_trialDesign_binom_two: Class '"trialDesign_binom_two"'

Description Objects from the Class Slots Methods Examples

Description

This is the s4 class for Binomial two endpoint designs with frequentist and Bayesian properties.

Objects from the Class

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

Slots

reviews:

Object of class "numeric", a vector of the number of patients each interim analysis will occur at

data:

Object of class "data.frame", exact simulation values for each scenario

cutpoints:

Object of class "data.frame", the most extreme cutpoints when cause the trial to stop on their own (ignoring interaction with the other endpoint)

precision:

Object of class "numeric", should be a vector of ones confirming probability is all accounted for

decision:

Object of class "list", a list of matrices for the decisions to be made at each interim analysis

post.futility, post.efficacy, post.toxicity, post.no_toxicity:

Object of class "numeric", The posterior probabilities of the design

graph:

Object of class "list", an optional argument to pass to plot for the ploting of the first graph

data

Exact simulation values for each scenario

Methods

plot

signature(x = "trialDesign_binom_two", y = "ANY"): ...

print

signature(x = "trialDesign_binom_two"): ...

show

signature(object = "trialDesign_binom_two"): ...

Examples

1
showClass("trialDesign_binom_two")

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 "trialDesign_binom_two" [package "EurosarcBayes"]

Slots:
                                                                          
Name:           reviews             data        cutpoints        precision
Class:          numeric       data.frame       data.frame          numeric
                                                                          
Name:          decision    post.futility    post.efficacy    post.toxicity
Class:             list          numeric          numeric          numeric
                                        
Name:  post.no_toxicity            graph
Class:          numeric             list

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