heart | R Documentation |
A mixed variable dataset containing 14 variables of 297 patients for their heart disease diagnosis.
data(heart)
A data.frame
including 297 rows and 14 variables:
Age in years (numerical).
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.
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
Lichman, M. (2013). UCI machine learning repository.
library(Path.Analysis)
data(heart)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.