summarize.cpsurv {CPsurv} | R Documentation |
Summary and print methods for objects inheriting from a call to
cpsurv
.
## S3 method for class 'cpsurv'
print(x, ...)
## S3 method for class 'cpsurv'
summary(object, ...)
## S3 method for class 'summary.cpsurv'
print(x, ...)
x |
An object of class |
... |
not used |
object |
An object of class |
The main results from cpsurv
are printed out in a
well-arranged format. If the estimated change point is bias corrected, both
estimates (the original, and the corrected one) are shown in the summary.
If a bootstrap-sampling was executed, the output contains a summary of the
resultant bootstrap-estimates.
data(survdata)
cpest <- cpsurv(survdata$time, survdata$event, cpmax = 360)
summary(cpest)