toxaemia {SMIR} | R Documentation |
The number of women giving birth to their first child who showed toxaemic signs (hypertension and/or proteinurea, classified as Yes or No) during pregnancy.
data(toxaemia)
A data frame with 60 observations on the following 4 variables.
response
HN
HU
NN
NU
smoke
0
1-19
20+
class
I
II
III
IV
V
count
See p.330 in SMIR
Brown, P.J., Stone, J., and Ord-Smith, C. (1983). Toxaemic signs during pregnancy. Applied Statistics, 32, 69–72.
data(toxaemia) tox.prop.table1 <- with(toxaemia, prop.table(tapply(count, list(class = class, response = response, smoke = smoke), sum), c(1, 3))[, c(2, 1, 4, 3), 1:2]) tox.prop.table2 <- with(toxaemia, prop.table(tapply(count, list(class = class, response = response, smoke = smoke), sum), c(1, 3))[, c(2, 1, 4, 3), 3, drop = FALSE])