heart.data {glmpath} | R Documentation |
Dataset for glmpath
Description
South African Heart Disease dataset used to test glmpath
algorithm
Usage
data(heart.data)
Format
A dataset with 462 observations on 9 variables and a binary response.
- x
x contains 9 columns of the following variables: sbp (systolic blood pressure); tobacco (cumulative tobacco); ldl (low density lipoprotein cholesterol); adiposity; famhist (family history of heart disease); typea (type-A behavior); obesity; alcohol (current alcohol consumption); age (age at onset)
- y
response, coronary heart disease
References
Hastie, T., Tibshirani, R., and Friedman, J. (2001) Elements of Statistical Learning; Data Mining, Inference, and Prediction Springer-Verlag, New York.
Examples
data(heart.data)
attach(heart.data)
fit <- glmpath(x, y, family=binomial)
detach(heart.data)
[Package glmpath version 0.98 Index]