toxaemia {SMIR}R Documentation

Bradford toxaemia data

Description

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.

Usage

data(toxaemia)

Format

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

Note

See p.330 in SMIR

Source

Brown, P.J., Stone, J., and Ord-Smith, C. (1983). Toxaemic signs during pregnancy. Applied Statistics, 32, 69–72.

Examples

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])

[Package SMIR version 0.02 Index]