Plot function for plotting of R objects in the dnn package.
Several different type of plots can be produced for the deep learning mdels. Plot method is used to provide a summary of outputs from "deepAFT", "deepGLM", "deepSurv" and "dnn".
Use "methods(plot)" and the documentation for these for other plot methods.
# S3 method for dNNmodel
plot(x, ...)
# S3 method for deepAFT
plot(x, type = c("predicted", "residuals", "baselineKM"), ...)
No return value, called to plot a figure.
a class of "dNNmodel".
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().
Bingshu E. Chen
plot.deepAFT is called to plot the fitted deep learning AFT model.
plot.dNNmodel is called to plot fitted dnn model
The default method, plot.default has its own help page. Use methods("plot") to get all the methods for the plot generic.
The default method for plot plot.default
.
glm