cat ObjectThe print.cat function provides a detailed summary of the cat object, displaying key information about the model and its settings,
including model type, covariates, formula, tau values, and relevant coefficients.
# S3 method for cat
print(x, digit = 3, detail = TRUE, ...)The x object is returned invisibly.
An object of class cat, representing a fitted model.
An integer indicating the number of decimal places for printing coefficient estimates. Default is 3.
A logical indicating whether to print additional details for interpreting the output. Default is TRUE.
Additional parameters to pass to other functions.
This function customizes the output based on the model type stored within the x object, such as GLM, Cox, or other types of models.
The print.cat function prints a summary of the model stored in the x object. It will display different information
depending on the model's type (GLM, Cox, etc.). It will show:
The model's function name.
The dimensions of the covariates used in the model.
The tau values.
Model-specific details such as family for GLMs or method and iteration info for Cox models.
Coefficients related to the model.