openintro (version 1.3)

heartTr: Heart Transplant Data

Description

The Stanford University Heart Transplant Study was conducted to determine whether an experimental heart transplant program increased lifespan. Each patient entering the program was designated officially a heart transplant candidate, meaning that he was gravely ill and would most likely benefit from a new heart. Then the actual heart transplant occurs between a few weeks to several months depending on the availability of a donor. Very few candidates during this waiting period show improvement and get deselected as a heart transplant candidate, but for the purposes of this experiment those patients were kept in the data as continuing candidates.

Usage

data(heartTr)

Arguments

source

http://www.stat.ucla.edu/~jsanchez/data/stanford.txt

References

Turnbull B, Brown B, and Hu M (1974). "Survivorship of heart transplant data." Journal of the American Statistical Association, vol. 69, pp. 74-80.

Examples

Run this code
data(heartTr)
str(heartTr) 
boxPlot(heartTr$survtime, heartTr$transplant,
	ylab = 'Survival Time (days)')
mosaicplot(~ transplant + survived, data = heartTr)

Run the code above in your browser using DataLab