plot.trtSelRelUtility: Plot the decision curves of a treatment selection marker

Description Usage Arguments Value

Description

Plot the decision curves of a treatment selection marker

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S4 method for signature '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, ...)

Arguments

x

a trtSelRelUtility object.

y

unused parameter.

which

indicates which graph should be plotted. Default is both graphs.

alpha

alpha risk for the confidence intervals.

conf.int

a logical value indicating whether the confidence intervals should be plotted for the relative utility curve.

main1

an overall title for the first plot.

main2

an overall title for the second plot.

lty

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).

lwd

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).

xlim

the x limits of the plots.

ylim1

the y limits of the first plot.

ylim2

the y limits of the second plot.

ylab1

a label for the y axis of the first plot.

ylab2

a label for the y axis of the second plot.

xlab

a label for the x axis of the plots.

col.U

color of the utility curve for the marker-based strategy.

col.Up

color of the utility curve for the perfect marker-based strategy.

col.UT0

color of the utility curve for the "Treat All with the reference treatment" strategy.

col.UT1

color of the utility curve for the "Treat All with the innovative treatment" strategy.

col.RU

color of the relative utility curve.

col.conf.int

color of the confidence intervals.

add

a logical value indicating whether the relative utility curve should superimpose with an existing graph. Only works when which = 2.

legend1

a logical value indicating whether a legend should be added to the first plot.

...

other graphical parameters.

Value

None


optimalThreshold documentation built on Jan. 13, 2020, 5:06 p.m.