Data-class {crmPack} | R 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)))
[Package crmPack version 1.0.6 Index]