Learn R Programming

condSURV (version 2.0.4)

summary.survCS: Summarizing fits of survCS class

Description

Returns a a data.frame or list containing the estimates of the conditional survival, its confidence limits and other information.

Usage

# S3 method for survCS
summary(object, times = NULL, ...)

Value

A data frame or a list containing the following components:

y

The total time for obtaining the estimates of the conditional survival probabilities.

est

Estimates of the conditional survival probability.

lower 95% CI

The lower conditional survival probabilities of the interval.

upper 95% CI

The upper conditional survival probabilities of the interval.

Arguments

object

A fitted survCS object as produced by survCOND().

times

Vector of times; the returned data frame will contain 1 row for each time. Missing values are not allowed.

...

For future methods.

Author

Luis Meira-Machado and Marta Sestelo

References

L. Meira-Machado, M. Sestelo, and A. Goncalves (2016). Nonparametric estimation of the survival function for ordered multivariate failure time data: a comparative study. Biometrical Journal, 58(3), 623--634.

Examples

Run this code
fit <- survCOND(survCS(time1, event1, Stime, event) ~ 1, x = 365,
data = colonCS, method = "LDM", conf = TRUE, n.boot = 50, cluster = FALSE)
summary(fit)
summary(fit, times = c(400, 1000, 2900))


Run the code above in your browser using DataLab