Learn R Programming

dobson (version 0.4)

ulcer: Ulcer data from table 9.7

Description

Data from a retrospective case-control study. A group of ulcer patients was compared with a group of control patients not known to have peptic ulcer, but who were similar to the ulcer patients with respect to age, sex and socioeconomic status.

Usage

data(ulcer)

Arguments

Format

A tibble with 8 observations and the following 4 variables.

ulcer

type of ulcer

case-control

case or control

aspirin

aspirin user

frequency

frequency

References

Duggan, J. M., A. J. Dobson, H. Johnson, and P. P. Fahey (1986). Peptic ulcer and non-steroidal anti-inflammatory agents. Gut 27, 929<U+2013>933.

Examples

Run this code
# NOT RUN {
data(ulcer)
summary(ulcer)
# }

Run the code above in your browser using DataLab