| Data-class {crmPack} | R Documentation |
Class for the data input
Description
This class inherits from GeneralData.
Slots
xthe doses for the patients
ythe vector of toxicity events (0 or 1 integers)
doseGridthe vector of all possible doses (sorted), i.e. the dose grid
nGridnumber of gridpoints
xLevelthe levels for the doses the patients have been given
placebological 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]