rsq_surv function

R-square calculation for Cox regression models

R-square calculation for Cox regression models

rsq_surv(fitobj)

Arguments

  • fitobj: a Cox regression model object of "coxph"

Returns

The value for the explained variance.

References

F. Harrell. Regression Modeling Strategies. With Applications to Linear Models, Logistic and Ordinal Regression, and Survival Analysis. 2nd Edition. Springer, New York, NY, 2015.

See Also

pool_performance

Author(s)

Martijn Heymans, 2021

  • Maintainer: Martijn Heymans
  • License: GPL (>= 2)
  • Last published: 2023-06-17