| heart | R Documentation |
Predict heart disease from lab data
heart
A data frame with 303 rows and 14 variables:
ageinteger. age in years.
sexfactor with 2 levels. male, female.
cpfactor with 4 levels. chest pain type (typical angina, atypical angina, non-anginal pain, asymptomatic).
testbpsinteger. resting blood pressure in mm Hg on admission to the hospital.
cholinteger. serum cholestoral in mg/dl.
fbsinteger. fasting blood sugar > 120 mg/dl (1 = true; 0 = false).
restecgfactor with 3 levels. resting electrocardiographic results (normal, having ST-T wave abnormality,left ventricular hypertrophy).
thalachinteger. maximum heart rate achieved.
exanginteger. exercise induced angina (1 = yes; 0 = no).
oldpeakdouble. ST depression induced by exercise relative to rest.
slopefactor with 3 levels. the slope of the peak exercise ST segment (upslope, flat, downsloping).
cainteger. number of major vessels (0-3) colored by flourosopy.
thalfactor with 3 levels. normal, fixed defect, reversable defect.
diseasefactor with 2 levels. heart disease (yes, no). This is the outcome variable of interest.
Data obtained from the UCI Machine Learning Repository.
Creators:
Hungarian Institute of Cardiology. Budapest: Andras Janosi, M.D.
University Hospital, Zurich, Switzerland: William Steinbrunn, M.D.
University Hospital, Basel, Switzerland: Matthias Pfisterer, M.D.
V.A. Medical Center, Long Beach and Cleveland Clinic Foundation: Robert Detrano, M.D., Ph.D.
Donor: David W. Aha (aha '@' ics.uci.edu) (714) 856-8779
summary(heart)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.