Plot method
# S4 method for 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 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), ...)
a trtSelOptThresh
or a diagOptThresh
object.
unused parameter.
an overall title for the plot.
the color of the histogram.
the color of the histogram border.
a label for the x axis of the plot.
The style of axis interval calculation to be used for the y-axis.
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).
one of:
a vector giving the breakpoints between histogram cells,
a function to compute the vector of breakpoints,
a single number giving the number of cells for the histogram,
a character string naming an algorithm to compute the number of cells,
a function to compute the number of cells.
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.
None