heartc: The Heart Cleveland dataset

Description Usage Format Details Source Examples

Description

This dataset contains information concerning heart disease diagnosis. The data was collected from the Cleveland Clinic Foundation, and it is available at the UCI machine learning Repository. Six instances containing missing values.

Usage

1

Format

A data frame with 297 observations on the following 14 variables.

V1

age(continuous)

V2

sex

V3

cp, chest pain type:1,2,3,4

V4

trestbps: resting blood pressure(continuous)

V5

cholesterol(continuous)

V6

fps: fatsing blood sugar>120? yes=1, no =0

V7

restecg: resting electrocardiographic results, 0,1, 2

V8

thalach: maximum heart rate achieved(continuous)

V9

exang: exercise induced angina (1 = yes; 0 = no)

V10

oldpeak = ST depression induced by exercise relative to rest (continuous)

V11

slope: the slope of the peak exercise ST segment

V12

ca: number of major vessels (0-3) colored by flourosopy

V13

thal: 3 = normal; 6 = fixed defect; 7 = reversable defect

V14

diagnosis of heart disease: 1: < 50 2: > 50

Details

This dataset contains six instances having missing values. It is recommended to impute these values before applying other tasks. This dataset includes continuous, binomial, nominal, and ordinal features.

Source

The UCI Machine Learning Database Repository at:

Examples

1
2
3
#----Detecting outliers using the Relief---
data(heartc)
imagmiss(heartc,"heart-Cleveland")

Example output

Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE 
3: .onUnload failed in unloadNamespace() for 'rgl', details:
  call: fun(...)
  error: object 'rgl_quit' not found 
Report on missing values for  heart-Cleveland :

Number of missing values overall: 6
Percent of missing values overall: 0.1523229
Features with missing values (percent): 
     V12      V13 
1.320132 0.660066 

Percent of features with missing values: 15.38462
Number of instances with missing values: 6
Percent of instances with missing values: 1.980198

dprep documentation built on May 29, 2017, 11:01 a.m.