plot.diagRelUtility: Plot the decision curves of a diagnostic marker

Description Usage Arguments Value

Description

Plot the decision curves of a diagnostic marker

Usage

1
2
3
4
5
6
## S4 method for signature 'diagRelUtility'
plot(x, y, main = "Decision curves",
  lty = 1, lwd = 1, xlim = range(x@r), ylim = c(min(x@U,
  x@UNoTreat, x@UTreatAll), max(x@U, x@UNoTreat, x@UTreatAll)),
  ylab = "Expected benefit", xlab = "r", col.U = "black",
  col.UNoTreat = "blue", col.UTreatAll = "green", ...)

Arguments

x

a diagRelUtility object.

y

unused parameter.

main

an overall title for the 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 plot.

ylim

the x limits of the plot.

ylab

a label for the y axis.

xlab

a label for the x axis

col.U

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

col.UNoTreat

color of the utility curve for the "No Treat" strategy.

col.UTreatAll

color of the utility curve for the "Treat All" strategy.

...

other graphical parameters.

Value

None


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