View source: R/visit_analysis.R
vtTrack | R Documentation |
Generate a plot representing the observed data and dose escalation decisions.
vtTrack(obs.all, cex.txt = 0.9, decision = 1, max.level = NULL,
letters = c("E", "C", "S"), colors = c("green", "yellow", "red"),
height = 0.5, end.width = 2, end.height = height,
cex.roman = 0.9, cex.end = 0.9, ...)
obs.all |
All observations collected in a matrix with 5 columns. Column
1 is the index of interim analysis starting from 1. Columns 2-5
correspond to columns 1-4 in |
cex.txt |
Text size of numbers in the plot |
decision |
Dose escalation decision. The options are
|
max.level |
Maximum number of dose levels shown in the plot |
letters |
Labels for dose escalation actions 1-3. Default values are "E", "C", "S" |
colors |
Possible colors in the last action box |
height |
Height of each individual box |
end.width |
Width of the last action box |
end.height |
Height of the last action box |
cex.roman |
Text size of the roman numerals |
cex.end |
Text size of the letter in the last action box |
... |
Optional arguments for |
obs.all <- rbind(c(1, 5, 2, 0, 0),
c(2, 3, 4, 0, 0),
c(3, 1, 6, 0, 0));
vtTrack(obs.all, end.width = 0.8, max.level = 3, decision = 3);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.