A data frame containing the observations from the GBSG2 study.
data("GBSG2")
This data frame contains the observations of 686 women:
hormonal therapy, a factor at two levels no
and
yes
.
of the patients in years.
menopausal status, a factor at two levels pre
(premenopausal) and post
(postmenopausal).
tumor size (in mm).
tumor grade, a ordered factor at levels I < II <
III
.
number of positive nodes.
progesterone receptor (in fmol).
estrogen receptor (in fmol).
recurrence free survival time (in days).
censoring indicator (0- censored, 1- event).
M. Schumacher, G. Basert, H. Bojar, K. Huebner, M. Olschewski,
W. Sauerbrei, C. Schmoor, C. Beyerle, R.L.A. Neumann and H.F. Rauschecker
for the German Breast Cancer Study Group (1994),
Randomized
data(GBSG2)
thsum <- function(x) {
ret <- c(median(x), quantile(x, 0.25), quantile(x,0.75))
names(ret)[1] <- "Median"
ret
}
t(apply(GBSG2[,c("age", "tsize", "pnodes",
"progrec", "estrec")], 2, thsum))
table(GBSG2$menostat)
table(GBSG2$tgrade)
table(GBSG2$horTh)
Run the code above in your browser using DataLab