Examples for 'TH.data::GBSG2'


German Breast Cancer Study Group 2

Aliases: GBSG2

Keywords: datasets

### ** Examples

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))
        Median 25%    75%
age       53.0  46  61.00
tsize     25.0  20  35.00
pnodes     3.0   1   7.00
progrec   32.5   7 131.75
estrec    36.0   8 114.00
table(GBSG2$menostat)
 Pre Post 
 290  396 
table(GBSG2$tgrade)
  I  II III 
 81 444 161 
table(GBSG2$horTh)
 no yes 
440 246 

[Package TH.data version 1.1-1 Index]