heartdisease | R Documentation |
A dataset predicting the diagnosis
of 303 patients tested for heart disease.
heartdisease
A data frame containing 303 rows and 14 columns, with the following variables:
True value of binary criterion: TRUE = Heart disease, FALSE = No heart disease
Age (in years)
Sex, 1 = male, 0 = female
Chest pain type: ta = typical angina, aa = atypical angina, np = non-anginal pain, a = asymptomatic
Resting blood pressure (in mm Hg on admission to the hospital)
Serum cholestoral in mg/dl
Fasting blood sugar > 120 mg/dl: 1 = true, 0 = false
Resting electrocardiographic results. "normal" = normal, "abnormal" = having ST-T wave abnormality (T wave inversions and/or ST elevation or depression of > 0.05 mV), "hypertrophy" = showing probable or definite left ventricular hypertrophy by Estes' criteria.
Maximum heart rate achieved
Exercise induced angina: 1 = yes, 0 = no
ST depression induced by exercise relative to rest
The slope of the peak exercise ST segment.
Number of major vessels (0-3) colored by flouroscopy
"normal" = normal, "fd" = fixed defect, "rd" = reversible defect
Note that this is a simplified version of the 303 cases of the Cleveland Clinic Foundation (V.A. Medical Center, Long Beach and Cleveland Clinic Foundation; Principal investigator: Robert Detrano, MD, PhD).
The original dataset contains 3 further subsets (from Budapest, Hungary; Long Beach CA; and Zurich, Switzerland), a total of 76 raw attributes, and some missing values.
The original criterion variable num
is integer valued from 0 (no presence) to 4 (maximum).
To obtain a binary criterion diagnosis
, values from 1 to 3 have been collapsed to TRUE
.
https://archive.ics.uci.edu/ml/datasets/Heart+Disease
heart.cost
dataset for cost information.
Other datasets:
blood
,
breastcancer
,
car
,
contraceptive
,
creditapproval
,
fertility
,
forestfires
,
heart.cost
,
heart.test
,
heart.train
,
iris.v
,
mushrooms
,
sonar
,
titanic
,
voting
,
wine
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.