Learn R Programming

FIND (version 0.1.1)

get_decision: Generate Decision Tables for Phase I Dose-Finding Designs

Description

Generic function to generate dosing decisions (E, S, D or DU) for phase I dose-finding designs.

Usage

get_decision(design, ...)

# S3 method for boin_design get_decision(design, ...)

# S3 method for i3plus3_design get_decision(design, ...)

# S3 method for mtpi2_design get_decision(design, ...)

# S3 method for g3plus3_design get_decision(design, ...)

# S3 method for threethree_design get_decision(design, ...)

# S3 method for default get_decision(design, ...)

Value

A list containing 'tab' (a dataframe with decisions E, S, D, or DU for each combination of y and n) and 'setup' (a list containing design parameters).

Arguments

design

A design object created by one of the design constructor functions (design_boin, design_i3plus3, design_mtpi2, design_g3plus3, or design_3plus3).

...

Additional arguments passed to methods.

Examples

Run this code
# Create design specifications
boin <- design_boin(pT = 0.25, EI = c(0.15, 0.35), npts = 12)
i3 <- design_i3plus3(pT = 0.25, EI = c(0.2, 0.3), npts = 12)

# Generate decision tables
decision_boin <- get_decision(boin)
decision_i3 <- get_decision(i3)

Run the code above in your browser using DataLab