Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot-GeneralSimulationsSummary-missing-method

Graphical display of the general simulation summary


Description

This plot method can be applied to GeneralSimulationsSummary objects in order to summarize them graphically. Possible types of plots at the moment are:

Usage

## S4 method for signature 'GeneralSimulationsSummary,missing'
plot(x, y, type = c("nObs",
  "doseSelected", "propDLTs", "nAboveTarget"), ...)

Arguments

x

the GeneralSimulationsSummary object we want to plot from

y

missing

type

the types of plots you want to obtain.

...

not used

Details

nObs

Distribution of the number of patients in the simulated trials

doseSelected

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.

propDLTs

Distribution of the proportion of patients with DLTs in the trials

nAboveTarget

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.

Value

A single ggplot object if a single plot is asked for, otherwise a gridExtra{gTree} object.


crmPack

Object-Oriented Implementation of CRM Designs

v1.0.0
GPL (>= 2)
Authors
Daniel Sabanes Bove [aut], Wai Yin Yeung [aut], Giuseppe Palermo [aut, cre], Thomas Jaki [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.