- fit
An instance of efftox_fit
.
- use_ggplot
logical, TRUE to use ggplot2. Defaults to FALSE to use
standard R graphics.
- prob_eff
vector of numbers between 0 and 1, containing the
efficacy probabilities of extra points to add to the plot as points,
e.g. the posterior mean efficacy probabilities of the doses under
investigation. Paired with prob_tox, thus they should be the same length.
Defaults to the values fitted by the model. Use NULL to supress.
- prob_tox
vector of numbers between 0 and 1, containing the
toxicity probabilities of extra points to add to the plot as points,
e.g. the posterior mean toxicity probabilities of the doses under
investigation. Paired with prob_eff, thus they should be the same length.
Defaults to the values fitted by the model. Use NULL to supress.
- num_points
integer for number of points to calculate on each curve.
The default is 1000 and this should be plenty.
- util_vals
A contour is plotted for each of these utility values.
The default is contours spaced by 0.2 between from -3 and 3,
i.e. seq(-3, 3, by = 0.2)
.