plot,GeneralSimulationsSummary,missing-method | R Documentation |
This plot method can be applied to
GeneralSimulationsSummary
objects in order to
summarize them graphically. Possible type
s of plots at the moment
are:
## S4 method for signature 'GeneralSimulationsSummary,missing'
plot(x, y, type = c("nObs", "doseSelected", "propDLTs", "nAboveTarget"), ...)
x |
the |
y |
missing |
type |
the types of plots you want to obtain. |
... |
not used |
Distribution of the number of patients in the simulated trials
Distribution of the final selected doses in the trials. Note that this can include zero entries, meaning that the trial was stopped because all doses in the dose grid appeared too toxic.
Distribution of the proportion of patients with DLTs in the trials
Distribution of the number of patients treated at doses
which are above the target toxicity interval (as specified by the
truth
and target
arguments to
summary,GeneralSimulations-method
)
You can specify any subset of these in the type
argument.
A single ggplot
object if a single plot is
asked for, otherwise a gtable
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.