Learn R Programming

crmPack (version 1.0.6)

DataParts-class: Class for the data with two study parts

Description

This is a subclass of Data, so contains all slots from Data, and in addition information on the two study parts.

Arguments

Slots

part

integer vector; which part does each of the patients belong to?

nextPart

integer; what is the part for the next cohort?

part1Ladder

sorted numeric vector; what is the escalation ladder for part 1? This shall be a subset of the doseGrid.

Examples

Run this code
# create an object of class 'DataParts'
myData <- DataParts(x=c(0.1,0.5,1.5),
                    y=c(0,0,0),
                    doseGrid=c(0.1,0.5,1.5,3,6,
                               seq(from=10,to=80,by=2)),
                    part=c(1L,1L,1L),
                    nextPart=1L,
                    part1Ladder=c(0.1,0.5,1.5,3,6,10))

Run the code above in your browser using DataLab