coxph
or survfit
modelcoxph
or survfit
modelrsq(x, ...)## S3 method for class 'coxph':
rsq(x, ..., sigD = 2)
## S3 method for class 'survfit':
rsq(x, ..., sigD = 2)
survfit
or coxph
objectsigD=NULL
will return the original numbers.list
with the following elements:O'Quigley J, Xu R, Stare J, 2005.
Explained randomness in proportional hazards models.
Stat Med 24(3):479--89.
Royston P, 2006.
Explained variation for survival models.
The Stata Journal 6(1):83--96.