找回密码
 注册
查看: 362|回复: 0

R语言 SIS包 heart.data()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 09:44:01 | 显示全部楼层 |阅读模式
heart.data(SIS)
heart.data()所属R语言包:SIS

                                        Dataset for SIS
                                         数据集的SIS

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

South African Heart Disease dataset used to test SIS algorithm
南非心脏病数据集用于测试SIS算法


用法----------Usage----------


data(heart.data)



格式----------Format----------

A dataset with 462 observations on 9 variables and a binary response.   
462观察变量和一个二进制响应的数据集。

xx 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)
XX包含了9列下面的变量:收缩压(收缩压);烟草(累积的烟草); LDL(低密度脂蛋白胆固醇);肥胖; famhist(心脏疾病的家族病史); A型(A型行为);肥胖醇(酒精消费),年龄(发病年龄)

yresponse, coronary heart disease   
yresponse,冠状动脉心脏疾病


参考文献----------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)
n=length(y)
p=dim(x)[2]
set.seed(0)
trainset=sample(1:n,floor(n*2/3))
testset=setdiff(1:n,trainset)

traindata=list(x=x[trainset,],y=y[trainset])

fit <- SIS(traindata, family=binomial(), xtune=x[testset,], ytune=y[testset])

detach(heart.data)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-25 17:13 , Processed in 0.023582 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表