plot.geelm {pseudoCure} | R Documentation |
Plot method for 'geelm' objects
Description
Plot method for 'geelm' objects
Usage
## S3 method for class 'geelm'
plot(x, type = c("residuals", "cv", "trace"), ...)
Arguments
x |
An object of class 'pCure', usually returned by the 'pCure()' function. |
type |
A character string specifying the type of plot to generate. Available options are "residuals," "cv," and "trace," which correspond to the pseudo-residual plot, cross-validation plot, and trace plot for different values of the tuning parameter, respectively. |
... |
Other arguments for future extension. |
Value
A ggplot object representing the residual plot, cross-validation plot,
or the trace plot for an object of class "geelm"
.
This can be further modified using "ggplot2"
functions.
[Package pseudoCure version 1.0.0 Index]