Description Usage Format Note Source Examples
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.
1 |
A data frame with 60 observations on the following 4 variables.
response
a factor with levels HN
HU
NN
NU
smoke
a factor with levels 0
1-19
20+
class
a factor with levels I
II
III
IV
V
count
a numeric vector
See p.330 in SMIR
Brown, P.J., Stone, J., and Ord-Smith, C. (1983). Toxaemic signs during pregnancy. Applied Statistics, 32, 69–72.
1 2 3 4 5 6 7 | 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])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.