summary.dec.sim {tsdf} | R Documentation |
Summarizing simulation results from a dec.sim object
Description
summary
method for class "dec.sim"
.
Usage
## S3 method for class 'dec.sim'
summary(object, pt, ...)
Arguments
object |
an object of class |
pt |
target toxicity for each scenario. |
... |
Not used argument. |
Details
summary
is used for formating important statistics for dose-finding simulation. Giving the target toxicity, it returns the probability of selecting current dose level as the MTD and over the MTD, probability of selecting the true MTD, probability of subjects treated at or below the true MTD, etc. The MTD is defined as the highest dose level such that the toxicity probability is less than target toxicity probability, if target is less than the smallest probability, then the lowest dose level is set as MTD. For example, if target is 0.3 and true toxicity for five doses are 0.1, 0.25, 0.35, 0.40, then MTD is dose 2.
Examples
test.file <- system.file("extdata", "testS.csv", package = "tsdf")
dt <- dec.table(0.6,0.4,0.2,0.3,c(3,3,3))
out <- sl.sim(dt$table, test.file)
pt <- c(0.3, 0.4)
summary(out, pt)