Plot the decision curves of a treatment selection marker
# S4 method for trtSelRelUtility
plot(x, y, which = c(1, 2), alpha = 0.05,
conf.int = TRUE, main1 = "Decision curves (unscaled)",
main2 = "Decision curve (scaled)", lty = 1, lwd = 1,
xlim = range(x@r), ylim1 = c(min(x@U, x@UT0, x@UT1, x@Up), max(x@U,
x@UT0, x@UT1, x@Up)), ylim2 = c(0, 1), ylab1 = "Utility",
ylab2 = "Relative utility", xlab = "r ratio", col.U = "black",
col.Up = "red", col.UT0 = "blue", col.UT1 = "green",
col.RU = "black", col.conf.int = "black", add = FALSE,
legend1 = TRUE, ...)
a trtSelRelUtility
object.
unused parameter.
indicates which graph should be plotted. Default is both graphs.
alpha risk for the confidence intervals.
a logical value indicating whether the confidence intervals should be plotted for the relative utility curve.
an overall title for the first plot.
an overall title for the second plot.
the line type. Line types can either be specified as an integer (0=blank, 1=solid (default), 2=dashed, 3=dotted, 4=dotdash, 5=longdash, 6=twodash) or as one of the character strings "blank", "solid", "dashed", "dotted", "dotdash", "longdash", or "twodash", where "blank" uses 'invisible lines' (i.e., does not draw them).
the line width, a positive number, defaulting to 1. The interpretation is device-specific, and some devices do not implement line widths less than one. (See the help on the device for details of the interpretation).
the x limits of the plots.
the y limits of the first plot.
the y limits of the second plot.
a label for the y axis of the first plot.
a label for the y axis of the second plot.
a label for the x axis of the plots.
color of the utility curve for the marker-based strategy.
color of the utility curve for the perfect marker-based strategy.
color of the utility curve for the "Treat All with the reference treatment" strategy.
color of the utility curve for the "Treat All with the innovative treatment" strategy.
color of the relative utility curve.
color of the confidence intervals.
a logical value indicating whether the relative utility curve should superimpose with an existing graph. Only works when which
= 2.
a logical value indicating whether a legend should be added to the first plot.
other graphical parameters.
None