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