| print.rCRM | R Documentation |
Print a summary of results
## S3 method for class 'rCRM' print(x, digits = 3, ...)
x |
fitted rCRM object |
digits |
number of digits in printout |
... |
additional print arguments |
The performed model is printed, followed by the estimated probability of DLT from a fitted rCRM object.
The data frame above is silently returned
Maintainer: Xiang Li <xli256@its.jnj.com>
rCRM
set.seed(1213)
dose0=c(1:6)
prob0=c(0.007, 0.086, 0.294, 0.545, 0.731, 0.841)
m=3; Y=NULL; X=NULL
for (i in 1:length(dose0)) {
Y=c(Y, rbinom(m, size=1, prob=prob0[i]))
X=c(X, rep(i, m))
}
fiti=rCRM(X, Y, dose0, tp=0.3, mlambda=10)
# attributes(fiti)
fiti