hyper: Treatment of hypernephroma data

Description Usage Format Details References Examples

Description

This dataset contains survival times for 36 patients with malignant tumour in the kidney. Some of the patients received nephrectomy. See Example 3.4 and example 5.9 of the Collett (2003) for more details. The event time in this example is right censored.

Usage

1

Format

A data frame with 36 observations on the following 4 variables:

nephrectomy

indicator on whether or not the patient had recived a nephrectomy

age

age group at the time of diagnosis. 1 = <60, 2 = 60-70, 3 = >70.

time

observed time.

status

status of the observed time. 0 = censored, 1 = event.

Details

The data uses time and status to represent the observed survival time. To fit into the icweib function, left and right endpoints of censoring interval need to be derived (see examples).

References

Collett, D. (2003). Modelling Survival Data in Medical Research, Second Edition, Texts in statistical science. Taylor & Francis.

Examples

1
2
3
4
5
data(hyper)

## Derive left and right endpoints from time and status
hyper$left <- hyper$time
hyper$right <- ifelse(hyper$status==1, hyper$time, Inf)

sachsmc/straweib documentation built on May 6, 2019, 8:51 a.m.