summarize.cpsurv {CPsurv}R Documentation

Summarize and print cpsurv objects

Description

Summary and print methods for objects inheriting from a call to cpsurv.

Usage

## S3 method for class 'cpsurv'
print(x, ...)

## S3 method for class 'cpsurv'
summary(object, ...)

## S3 method for class 'summary.cpsurv'
print(x, ...)

Arguments

x

An object of class cpsurv or summary.cpsurv to be printed out.

...

not used

object

An object of class cpsurv.

Details

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.

See Also

cpsurv

Examples

data(survdata)
cpest <- cpsurv(survdata$time, survdata$event, cpmax = 360)
summary(cpest)

[Package CPsurv version 1.0.0 Index]