View source: R/print.survdnn.R
print.survdnn | R Documentation |
Pretty prints a fitted 'survdnn' model. Displays the formula, network architecture, training configuration, and final training loss.
## S3 method for class 'survdnn'
print(x, ...)
x |
An object of class '"survdnn"', returned by [survdnn()]. |
... |
Ignored (for future compatibility). |
The model object, invisibly.
library(survival)
data(veteran, package = "survival")
mod <- survdnn(Surv(time, status) ~
age + karno + celltype, data = veteran, epochs = 20, verbose = FALSE)
print(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.