summary.coxex: Summary for the coxex class.

View source: R/oop_coxex.R

summary.coxexR Documentation

Summary for the coxex class.

Description

Generates a summary for a coxex model. This can be inference (type = 'inference'), fit statistics in the training data (type = 'fit') or model assumptions (type = 'assumptions').

Usage

## S3 method for class 'coxex'
summary(object, type = c("inference", "fit", "assumptions"), ...)

Arguments

object

a coxex object.

type

statistic type, 'inference' by default.

...

extra arguments passed to get_cox_estimates, get_cox_stats or get_cox_assumptions.

Details

A wrapper around get_cox_estimates (inference), get_cox_stats (goodness of fit) and get_cox_assumptions (assumptions).

Value

a data frame with the stats specified by the type argument.

References

  • Therneau, T. M. & Grambsch, P. M. Modeling Survival Data: Extending the Cox Model. (Springer Verlag, 2000).

  • Grambsch, P. M. & Therneau, T. M. Proportional Hazards Tests and Diagnostics Based on Weighted Residuals. Biometrika 81, 515 (1994).

  • Harrell, F. E., Lee, K. L. & Mark, D. B. Multivariable prognostic models: Issues in developing models, evaluating assumptions and adequacy, and measuring and reducing errors. Stat. Med. 15, 361–387 (1996).

  • Graf, E., Schmoor, C., Sauerbrei, W. & Schumacher, M. Assessment and comparison of prognostic classification schemes for survival data. Stat. Med. 18, 2529–2545 (1999).


PiotrTymoszuk/coxExtensions documentation built on Feb. 6, 2024, 10:58 p.m.