heart | R Documentation |
A mixed variable dataset containing 14 variables of 297 patients for their heart disease diagnosis.
heart
A data frame with 297 rows and 14 variables:
Age in years (numerical).
Sex: 1 = male, 0 = female (logical).
Four chest pain types: (1) typical angina, (2) atypical angina (3)non-anginal pain, (4) asymptomatic (categorical).
Resting blood pressure (in mm Hg on admission to the hospital) (numerical).
Serum cholestoral in mg/dl (numerical).
Fasting blood sugar more than 120 mg/dl (logical).
Resting electrocardiographic results: (0) normal, (1) having ST-T wave abnormality, (2) showing probable or definite left ventricular hypertrophy by Estes' criteria (categorical).
Maximum heart rate achieved (numerical).
Exercise induced angina (logical).
ST depression induced by exercise relative to rest (numerical).
The slope of the peak exercise ST segment: (1) upsloping, (2) flat, (3) downsloping (categorical).
Number of major vessels (0-3) colored by flourosopy (numerical).
(3) normal, (6) fixed defect, (7) reversable defect (categorical).
Diagonosis of heart disease (4 classes). It can be 2 classes by setting 0 for 0 values and 1 for non-0 values.
The data set is taken from machine learning repository of UCI. The original data set consists of 303 patients with 6 NA's. Then, the missing values are omitted such that it reduces into 297 patients.
https://archive.ics.uci.edu/ml/datasets/Heart+Disease
Lichman, M. (2013). UCI machine learning repository.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.