Learn R Programming

CardioDataSets (version 0.1.0)

cardio_diabetes_tbl_df: Cardiovascular risks of diabetes drugs

Description

This dataset, cardio_diabetes_tbl_df, is a tibble containing information comparing cardiovascular problems between two diabetes medications (Rosiglitazone and Pioglitazone) in elderly Medicare patients. It includes data from 227,571 patients.

Usage

data(cardio_diabetes_tbl_df)

Arguments

Format

A tibble with 227,571 observations and 2 variables:

treatment

Type of diabetes medication (factor with 2 levels: Rosiglitazone or Pioglitazone)

cardiovascular_problems

Presence of cardiovascular problems (factor with 2 levels)

Details

The dataset name has been kept as 'cardio_diabetes_tbl_df' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the CardioDataSets package and assists users in identifying its specific characteristics. The suffix 'tbl_df' indicates that the dataset is a tibble. The original content has not been modified in any way.