print: print a summary of fitted deepAFT object

printR Documentation

print a summary of fitted deepAFT object

Description

print is used to provide a short summary of outputs from "deepAFT".

Usage

## S3 method for class 'deepAFT'
print(x, ...)
## S3 method for class 'summary.deepAFT'
print(x, ...)
## S3 method for class 'deepAFT'
summary(object, ...)

Arguments

x

a class returned from deepAFT model fit

...

other options used in print()

object

a class of deepAFT object

Details

print.deepAFT is called to print object or summary of object from the deep learning AFT models deepAFT. summary(fit) provides detail summary of ‘deepAFT’ model fit, including predictors, baseline survival function for T0=T/exp(mu), and martingale residules for the fitted model. The default method, print.default has its own help page. Use methods("print") to get all the methods for the print generic.

Value

An object of class "summary.deepAFT" is returned. The object contains the following list components:

location

location parameter exp(mu), to predice the mean value of survival time.

sfit

survfit object of the baselie survival function of T0=T/exp(mu).

cindex

Concordance index of the fitted deepAFT model.

resid

martingle residuals of the fitted deepAFT model.

method

the model used to fit the deepAFT model.

Author(s)

Bingshu E. Chen

See Also

The default method for print print.default. Other methods include survreg, deepAFT, summary

Examples

#
#  print(fit)
#

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