plot.geelm: Plot method for 'geelm' objects

View source: R/geelm.R

plot.geelmR 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.


pseudoCure documentation built on April 12, 2025, 1:46 a.m.