Learn R Programming

SMPracticals (version 1.4-3.1)

blalock: Blalock--Taussig Shunt Data

Description

The Blalock--Taussig shunt is an operative procedure for infants with congenital cyanotic heart disease. The data are the survival times in months for shunts in 81 infants, divided into two age groups.

Usage

data(blalock)

Arguments

Format

A data frame with 81 observations on the following 3 variables.

group

1 indicates infants aged over 1 month at time of the operation. 2 indicates those aged 30 or fewer days at time of operation.

months

survival time in months

cens

censoring indicator: 1 indicates observed failure time

References

Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 192.

Examples

Run this code
data(blalock)
library(survival)
plot(survfit(Surv(months,cens)~group,data=blalock),conf.int=TRUE,col=c(2,3))

Run the code above in your browser using DataLab