Data-class: Class for the data input

Data-classR Documentation

Class for the data input

Description

This class inherits from GeneralData.

Slots

x

the doses for the patients

y

the vector of toxicity events (0 or 1 integers)

doseGrid

the vector of all possible doses (sorted), i.e. the dose grid

nGrid

number of gridpoints

xLevel

the levels for the doses the patients have been given

placebo

logical value: if TRUE the first dose level in the grid is considered as PLACEBO

Examples

# create some data from the class 'Data'
myData <- Data(x=c(0.1,0.5,1.5,3,6,10,10,10),
               y=c(0,0,0,0,0,0,1,0),
               doseGrid=c(0.1,0.5,1.5,3,6,
                          seq(from=10,to=80,by=2)))

crmPack documentation built on June 26, 2024, 5:07 p.m.