Description Usage Arguments Details Examples
Provides functionality for plotting the posterior estimates of probabilities of toxicity at each dose level for both the most recent update and for past cohort updates if specified.
1 2 3 4 |
crm |
An object of class 'mtd' produced by applied_crm to be plotted. |
dose_labels |
A vector of character strings detailing the labels to be used for each dose level in the plot. |
cohort_sizes |
An optional vector of cohort sizes; if provided the previous estimates for each cohort will be plotted in addition. |
file |
An optional string for the file name; if provided the plot will be saved as a .PNG to the current working directory under the provided file name. |
height |
A numeric value specifying the vertical pixel count of the plot. Default is 600. |
width |
A numeric value specifiying the horizontal pixel count of the plot. Default is 750. |
dose_func |
Must be provided if cohort_sizes is provided. The function to be used to when implementing the CRM for previous cohorts. |
... |
Arguments to be provided to dose_func detailing CRM specification. See applied_crm. |
ylim |
The y-axis range. Default is c(0, 1) |
lwd |
line width relative to the default (default=1). 2 is twice as wide. Default is 1. |
cex.axis |
The magnification to be used for axis annotation relative to the current setting of cex. Default is 1. |
cex.lab |
The magnification to be used for x and y labels relative to the current setting of cex. Default is 1. |
cex |
A numerical value giving the amount by which plotting text and symbols should be magnified relative to the default. Default is 1. |
cohort.last |
If TRUE, the last cohort will have lwd = 6 for emphasis. Default is FALSE. |
Produces a plot of current dose-toxicity estimates including the priors and outputs a .png of plot to current directory if 'file' is provided. Potential for history of estimates by cohort if cohort.sizes is provided; dose_func is required to do this.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.