Skip to contents

This dataset, smoking_doctors_df, is a data frame containing data from a study on smoking habits and coronary artery disease mortality among British doctors. It includes 10 observations across 5 variables representing person-years of observation and deaths during the study period.

Usage

data(smoking_doctors_df)

Format

A data frame with 10 observations and 5 variables:

age

Age group (factor with 5 levels)

smoke

Smoking status (numeric)

n

Number of person-years at risk (numeric)

y

Number of deaths from coronary artery disease (numeric)

ns

Standardized mortality ratio (numeric)

Source

Data taken from the boot package version 1.3-31

Details

The dataset name has been kept as 'smoking_doctors_df' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the PulmoDataSets package. The suffix 'df' indicates that this is a standard data frame. The original content has not been modified in any way.