summary.survIDM: Summarizing fits of 'survIDM' class

Description Usage Arguments Value Author(s) Examples

View source: R/summary.survIDM.R

Description

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

Usage

1
2
  ## S3 method for class 'survIDM'
summary(object, times = NULL, ...)

Arguments

object

A fitted survIDM object as produced by tprob(), CIF() or sojourn().

times

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

...

For future methods.

Value

A data frame or a list containing the following components:

y

The total time for obtaining the estimates of the probabilities.

est

Estimates of the probability.

lower 95% CI

The lower probabilities of the interval.

upper 95% CI

The upper probabilities of the interval.

Author(s)

Luis Meira-Machado, Marta Sestelo and Gustavo Soutinho.

Examples

1
2
3
4
5
6
7
8
fit <- tprob(survIDM(time1,event1,Stime, event) ~ 1, s = 365,
method = "AJ", conf = TRUE, conf.level = 0.95,
conf.type = "linear", n.boot = 50, data = colonIDM)

summary(fit)
summary(fit, times = c(400, 1000, 2900))

    

survidm documentation built on May 2, 2019, 2:14 p.m.