Learn R Programming

crmPack (version 1.0.6)

RuleDesign-class: Class for rule-based designs

Description

The difference to Design class is that model, stopping and increments slots are missing.

Arguments

Slots

nextBest

how to find the next best dose, an object of class NextBest

cohortSize

rules for the cohort sizes, an object of class CohortSize

data

what is the dose grid, any previous data, etc., contained in an object of class Data

startingDose

what is the starting dose? Must lie on the grid in data

Examples

Run this code

emptydata <- Data(doseGrid = c(5, 10, 15, 25, 35, 50, 80))

# inizialing a 3+3 design with constant cohort size of 3 and
# starting dose equal 5
myDesign <- RuleDesign(nextBest = NextBestThreePlusThree(),
                       cohortSize = CohortSizeConst(size=3L),
                       data = emptydata,
                       startingDose = 5)
  
  

Run the code above in your browser using DataLab