plot | R Documentation |
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.
## S3 method for class 'deepAFT'
plot(x, type = c("predicted", "residuals", "baselineKM"), ...)
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(). |
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.
Bingshu E. Chen
The default method for plot plot.default
.
deepAFT
#
# plot(fit)
#
######## plot for deepAFT object
#
# plot(fit, type = 'baselineKM')
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.