Learn R Programming

aftsem (version 1.0)

print.aftsem: Print method for aftsem xs

Description

Prints a summary of an aftsem model fit x.

Usage

# S3 method for aftsem
print(x, ...)

Value

The function is called for its side effect, which is printing the summary to the console. It invisibly returns NULL.

Arguments

x

An x of class "aftsem", typically the result of a call to `aftsem_fit`.

...

Further arguments passed to or from other methods.

Details

The `print.aftsem` method provides a user-friendly summary of the model fit, including the method used for parameter estimation, convergence status, estimated parameters, number of iterations, and the percentage of censored observations.

See Also

aftsem_fit for model fitting.