Description Usage Format Source Examples
A random sample of 199 female breast cancer patients who registered with the Northern Alberta Breast
Cancer Registry in 1985. Entry into the cohort was restricted to women with either stage I, II, or III
disease. This version of the breast cancer data includes the seven subjects who died of a cause other than
breast cancer.
Data are provided in different subsets and formats throughout Newman:
Table 4.5(a), page 99 (breast
);
Table 5.3, page 126 (breast.receptor
);
Table 5.10, page 140 (breast.stage
);
Table 9.1, page 175 (breast.survival
)
1 |
data frame with 199 observations and 4 variables:
survival time in months
censoring variable; 0 = censored; 1 = died of breast cancer
stage of disease: I, II, III
amount of estrogen receptor that is present in breast tissue: low, high
Newman (2001)
1 2 3 4 5 6 7 8 9 | ## Cox regression, Example 15.2
## Set "high" as reference level
breast.survival$receptor.level <- relevel(breast.survival$receptor.level, ref = "high")
library(survival)
fit <- coxph(Surv(time, status) ~ receptor.level + stage, data = breast.survival)
## Table 15.8
summary(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.