summary2.VTSIMU: Summarize simulation results

View source: R/visit_simu.R

summary2.VTSIMUR Documentation

Summarize simulation results

Description

Summarize simulation results to get the frequency of a dose level is identified as the optimal dose level and the number of DLT's and responses

Usage

## S3 method for class 'VTSIMU'
summary2(x, ...)

Arguments

x

A class VTSIMU list generated by vtSimu

...

Reserved parameters

Value

A numeric array that shows 1: number of times each level is selected, 2. total number of times any level is selected, 3. frequency each level is selected, 4. frequency any level is selected, 5. average number of DLT's and responders for each level, 6. average total number of DLT's and responders

Examples


rst.sce <- vtScenario(tox = c(0.05, 0.05, 0.08),
                      res = c(0.2, 0.3, 0.5),
                      rho = 1)
rst.simu  <- vtSimu(n.rep = 20, n.cors = 2, trueps = rst.sce,
                    size.cohort=3, size.level=12,
                    prob.mdl="NONPARA");
sum.simu <- summary2(rst.simu)



visit documentation built on Aug. 9, 2023, 5:08 p.m.