powered by
Plot true DLT risk rates and response rates.
# S3 method for VTTRUEPS plot(x, draw.levels = NULL, draw.curves = 1:6, legends = NULL, ltys = c(1, 1, 2, 2, 2, 2), pch = 19:24, ylim = c(0, 1), cols = c("red", "blue", "brown", "black", "gray", "green"), add.legend = TRUE, ...)
A class VTTRUEPS matrix generated by vtScenario
VTTRUEPS
vtScenario
Select dose levels to draw. Default NULL draws all levels.
NULL
Indicate which curves to plot. The options are
1:p: DLT risk rate
2:q: Response rate
3:\(\theta_{00}\)
4:\(\theta_{01}\)
5:\(\theta_{10}\)
6:\(\theta_{11}\)
See visit for details.
visit
Line legends
Line types
Line PCH
Y limits
Line colors
Include legends (TRUE) or not (FALSE)
optional arguments for plot
rst.sce <- vtScenario(tox = c(0.05, 0.05, 0.08), res = c(0.2, 0.3, 0.5), rho = 1) plot(rst.sce, draw.levels = 1:2, draw.curves=1:6)
Run the code above in your browser using DataLab