Learn R Programming

pubh (version 2.0.0)

Vanderpump: Smoking and mortality in Whickham, England.

Description

Data represents women participating in a health survey in Whickham, England in 1972-1974.

Usage

Vanderpump

Arguments

Format

A labelled tibble with 1314 rows and 3 variables:

vstatus

Vitality status, factor with levels "Alive" and "Death".

smoker

Smoking status, factor with levels "Non-smoker" and "Smoker".

agegrp

Age group, factor with levels "18-44", "45-64" and "64+".

Examples

Run this code
data(Vanderpump)

mhor(vstatus ~ agegrp / smoker, data = Vanderpump)

Run the code above in your browser using DataLab