heart: Dataset 6: Heart Disease data set

heartR Documentation

Dataset 6: Heart Disease data set

Description

A mixed variable dataset containing 14 variables of 297 patients for their heart disease diagnosis.

Usage

data(heart)

Format

A data.frame including 297 rows and 14 variables:

age

Age in years (numerical).

sex

Sex: 1 = male, 0 = female (logical).

heart.disease

a numeric vector as dependent.

biking

a numeric vector as the first independent.

smoking

a numeric vector as the 2nd independent.

Source

The data set is belong to machine learning repository of UCI. The original data set includes 303 patients with 6 NA's. After removing missing values, it reduced into 297 patients.

https://archive.ics.uci.edu/ml/datasets/Heart+Disease

References

Lichman, M. (2013). UCI machine learning repository.

Examples


library(Path.Analysis)
data(heart)


Path.Analysis documentation built on Sept. 30, 2024, 9:25 a.m.