Description Usage Format References Examples
South African Heart Disease dataset used to test glmpath
algorithm
1 |
A dataset with 462 observations on 9 variables and a binary response.
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)
response, coronary heart disease
Hastie, T., Tibshirani, R., and Friedman, J. (2001) Elements of Statistical Learning; Data Mining, Inference, and Prediction Springer-Verlag, New York.
1 2 3 4 | data(heart.data)
attach(heart.data)
fit <- glmpath(x, y, family=binomial)
detach(heart.data)
|
Loading required package: survival
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.