<- data.frame(
myTable Variable = c("age", "sex", "cp", "trestbps", "chol", "fbs", "restecg", "thalach", "exang", "oldpeak", "slope", "ca", "thal", "num"),
Definition = c("Age", "Sex", "Chest pain type", "Resting blood pressure on admission to hospital", "Serum cholesterol", "Presence of high blood sugar", "Resting electrocardiographic results", "Maximum heart rate achieved", "Exercise induced angina", "ST depression induced by exercise relative to rest", "Slope of the peak exercise ST segment", "Number of major vessels coloured by fluoroscopy", "Presence of defect", "Diagnosis of heart disease"),
Type = c("Numerical", "Categorical", "Categorical", "Numerical", "Numerical", "Categorical", "Categorical", "Numerical", "Categorical", "Numerical", "Categorical", "Numerical", "Categorical", "Categorical"),
Unit = c("Years", "N/A", "N/A", "mmHg", "mg/dl", "N/A", "N/A", "BPM", "N/A", "N/A", "N/A", "N/A", "N/A", "N/A"),
Categories = c("N/A", "0: Female; 1: Male", "1: Typical angina; 2: Atypical angina; 3: Non-anginal pain; 4: Asymptomatic", "N/A", "N/A", "0: False; 1: True", "0: Normal; 1: Having ST-T wave abnormality (T wave inversions and/or ST elevation or depression of > 0.05 mV); 2: Showing probable or definite left ventricular hypertrophy by Estes' criteria", "N/A", "0: No; 1: Yes", "N/A", "1: Upsloping; 2: Flat; 3: Downsloping", "Range from 1-3", "3: Normal; 6: Fixed defect; 7: Reversible defect", "0: < 50% diameter narrowing; 1+: > 50% diameter narrowing"),
AnyMissingValues = c("No", "No", "No", "Yes", "Yes", "Yes", "Yes", "Yes", "Yes", "Yes", "Yes", "Yes", "Yes", "No")
) myTable
Variable Definition Type
1 age Age Numerical
2 sex Sex Categorical
3 cp Chest pain type Categorical
4 trestbps Resting blood pressure on admission to hospital Numerical
5 chol Serum cholesterol Numerical
6 fbs Presence of high blood sugar Categorical
7 restecg Resting electrocardiographic results Categorical
8 thalach Maximum heart rate achieved Numerical
9 exang Exercise induced angina Categorical
10 oldpeak ST depression induced by exercise relative to rest Numerical
11 slope Slope of the peak exercise ST segment Categorical
12 ca Number of major vessels coloured by fluoroscopy Numerical
13 thal Presence of defect Categorical
14 num Diagnosis of heart disease Categorical
Unit
1 Years
2 N/A
3 N/A
4 mmHg
5 mg/dl
6 N/A
7 N/A
8 BPM
9 N/A
10 N/A
11 N/A
12 N/A
13 N/A
14 N/A
Categories
1 N/A
2 0: Female; 1: Male
3 1: Typical angina; 2: Atypical angina; 3: Non-anginal pain; 4: Asymptomatic
4 N/A
5 N/A
6 0: False; 1: True
7 0: Normal; 1: Having ST-T wave abnormality (T wave inversions and/or ST elevation or depression of > 0.05 mV); 2: Showing probable or definite left ventricular hypertrophy by Estes' criteria
8 N/A
9 0: No; 1: Yes
10 N/A
11 1: Upsloping; 2: Flat; 3: Downsloping
12 Range from 1-3
13 3: Normal; 6: Fixed defect; 7: Reversible defect
14 0: < 50% diameter narrowing; 1+: > 50% diameter narrowing
AnyMissingValues
1 No
2 No
3 No
4 Yes
5 Yes
6 Yes
7 Yes
8 Yes
9 Yes
10 Yes
11 Yes
12 Yes
13 Yes
14 No