print.cat_tune | R Documentation |
cat_tune
ObjectThis function prints a summary of the cat_tune
object, displaying key details such as
the function name, dimensions of covariates, tau sequence, optimal tau, likelihood or risk
estimate, and the model's coefficients.
## S3 method for class 'cat_tune'
print(x, digit = 3, detail = TRUE, ...)
x |
An object of class |
digit |
An integer indicating the number of decimal places for printing coefficient estimates. Default is 3. |
detail |
A logical value indicating whether to include additional detailed output at the end of the summary.
If |
... |
Additional parameters to pass to other functions. |
This method provides a comprehensive overview of the tuning process for the model, including the tau sequence and optimal tau, along with either the maximum likelihood (for Cox models) or minimum risk estimate (for other models). It also displays the coefficients of the model.
The function also checks if the x
is a Cox model (cat_cox_tune
) to adjust the interpretation
of the output.
The x
object is returned invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.