plot-methods {optimalThreshold} | R Documentation |
Plot method
Description
Plot method
Usage
## S4 method for signature 'trtSelOptThresh'
plot(x, y,
main = "MCMC sample distribution of optimal threshold",
col = "gray85", border.col = "darkgrey",
xlab = "Optimal threshold estimate", yaxs = "i", freq = FALSE,
breaks = seq(min(x@optThresh, na.rm = TRUE), max(x@optThresh, na.rm =
TRUE), length.out = 20), ...)
## S4 method for signature 'diagOptThresh'
plot(x, y,
main = "MCMC sample distribution of optimal threshold",
col = "gray85", border.col = "darkgrey",
xlab = "Optimal threshold estimate", yaxs = "i", freq = FALSE,
breaks = seq(min(x@optThresh, na.rm = TRUE), max(x@optThresh, na.rm =
TRUE), length.out = 20), ...)
Arguments
x |
a |
y |
unused parameter. |
main |
an overall title for the plot. |
col |
the color of the histogram. |
border.col |
the color of the histogram border. |
xlab |
a label for the x axis of the plot. |
yaxs |
The style of axis interval calculation to be used for the y-axis. |
freq |
logical; if TRUE, the histogram graphic is a representation of frequencies; if FALSE, probability densities are plotted (so that the histogram has a total area of one). |
breaks |
one of:
In the last three cases the number is a suggestion only; as the breakpoints will be set to pretty values, the number is limited to 1e6 (with a warning if it was larger). If breaks is a function, the x vector is supplied to it as the only argument (and the number of breaks is only limited by the amount of available memory). |
... |
other graphical parameters. |
Value
None