Skip to contents

The dataset name has been changed to 'esoph_df' to avoid confusion with datasets from other packages in the R ecosystem and to follow the naming conventions of the 'MedDataSets' package. The suffix '_df' indicates that this dataset is a data frame, helping to distinguish it from other datasets within the package and from those in the broader R ecosystem. The original content of the dataset has not been modified in any way.

Usage

data(esoph_df)

Format

A data frame with 88 observations and 5 variables:

agegp

Age group of the individuals (ordered factor).

alcgp

Alcohol consumption group (ordered factor).

tobgp

Tobacco consumption group (ordered factor).

ncases

Number of cases (numeric).

ncontrols

Number of controls (numeric).

Source

Data from a case-control study on esophageal cancer.

Details

This dataset contains data from a case-control study investigating the association between smoking, alcohol consumption, and esophageal cancer. It includes the number of cancer cases and controls for various age, alcohol consumption, and smoking groups.