Vietnam(vcdExtra)
Vietnam()所属R语言包:vcdExtra
Student Opinion About the War in Vietnam
关于越南战争的学生意见
译者:生物统计家园网 机器人LoveR
描述----------Description----------
A survey of student opinion on the Vietnam War was taken at the University of North Carolina at Chapel Hill in May 1967 and published in the student newspaper. Students were asked to fill in ballot papers stating which policy out of A,B,C or D they supported. Responses were cross-classified by gender/year.
在越南战争中采取的一项调查学生的意见,在1967年5月在北卡罗莱纳大学教堂山分校的学生报纸出版。学生被要求填写在选票上注明A,B,C或D的政策,他们的支持。响应交叉分类按性别/年。
The result is a 2 x 5 x 4 contingency table, with factors sex, yr and resp.
结果是一个2×5×4的应变表,与因素sex,yr和resp。
用法----------Usage----------
data(Vietnam)
格式----------Format----------
A data frame in frequency form with 40 observations on the following 4 variables.
40个观察以下4个变量的数据框的频率形式。
sex a factor with levels F M
sex的一个因素水平FM
yr an ordered factor with levels Fresh < Soph < Jr < Sr < Grad
yr一个有序的因素与水平FreshSophJrSrGrad
resp a factor with levels A B C D
resp的一个因素水平ABCD
Freq a numeric vector
Freq一个数值向量
Details
详细信息----------Details----------
The response categories can be considered ordered in terms of attitude about the war in Vietnam:
关于越南战争的态度可以考虑订购的响应类别:
A defeat North Vietnam by widespread bombing and land invasion
通过广泛的轰炸和地面入侵的失败北越
B follow the present policy
b按照目前的政策
C withdraw troops to strong points and open negotiations on elections involving the Viet Cong
Ç撤军的优势和开放的谈判涉及越共选举
D immediate withdrawal of all U.S. troops
ð立即撤出所有美军
源----------Source----------
Aitkin, M. A., Anderson, D., Francis, B., & Hinde, J. Statistical Modelling in GLIM, Clarendon Press, 1989
艾特金,马,安德森,D.,弗朗西斯,B.,&欣德,研究统计模型GLIM,克拉伦登出版社,1989年
参考文献----------References----------
实例----------Examples----------
data(Vietnam)
str(Vietnam)
# make it into a table[使之成为一个表]
Vietnam.table <- xtabs(Freq ~ sex+yr+resp, data=Vietnam)
structable(Vietnam.table)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|