plot: Plot a fitted deep learning AFT model

plotR Documentation

Plot a fitted deep learning AFT model

Description

Several different type of plots can be produced for deep AFT mdels. Plot method is used to provide a graphic plot from "deepAFT" model fit.

Use "methods(plot)" and the documentation for these for other plot methods.

Usage

## S3 method for class 'deepAFT'
plot(x, type = c("predicted", "residuals", "baselineKM"), ...)

Arguments

x

a class returned from "deepAFT" fit.

type

type of plot in deepAFT object, "predicted" to plot the linear predicted values, "residuals" to plot residuals, "baselineKM" to plot baseline Kaplan-Meier survival curve.

...

other options used in plot().

Details

plot.deepAFT is called to plot the fitted deep learning AFT model.

The default method, plot.default has its own help page. Use methods("plot") to get all the methods for the plot generic.

Author(s)

Bingshu E. Chen

See Also

The default method for plot plot.default. deepAFT

Examples

#
#  plot(fit)
# 
######## plot for deepAFT object
#
#  plot(fit, type = 'baselineKM')
#

statapps/deepAFT documentation built on June 25, 2024, 2:17 a.m.