PreSex(vcd)
PreSex()所属R语言包:vcd
Pre-marital Sex and Divorce
婚前性行为和离婚
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Data from Thornes \& Collard (1979), reported in Gilbert (1981), on pre- and extra-marital sex and divorce.
托内斯\&散叶甘兰(1979年),吉尔伯特(1981)报道,前和婚外性行为,离婚的数据。
用法----------Usage----------
data("PreSex")
格式----------Format----------
A 4-dimensional array resulting from cross-tabulating 1036 observations on 4 variables. The variables and their levels are as follows:
一个4维数组从1036观察4个变量交叉制表。变量和它们的水平如下:
Name
名称
MaritalStatus
婚姻状况
ExtramaritalSex
ExtramaritalSex
PremaritalSex
PremaritalSex
Gender
性别
源----------Source----------
Michael Friendly (2000), Visualizing Categorical Data: http://euclid.psych.yorku.ca/ftp/sas/vcd/catdata/marital.sas
迈克尔活动(2000年),分类数据的可视化:http://euclid.psych.yorku.ca/ftp/sas/vcd/catdata/marital.sas
参考文献----------References----------
Modelling Society: An Introduction to Loglinear Analysis for Social Researchers. Allen and Unwin, London.
Who Divorces?. Routledge \& Kegan, London.
Visualizing Categorical Data. SAS Institute, Cary, NC.
实例----------Examples----------
data("PreSex")
## Mosaic display for Gender and Premarital Sexual Experience[#拼接显示性别和婚前性经验]
## (Gender Pre)[#(性别前)]
mosaic(margin.table(PreSex, c(3,4)),
main = "Gender and Premarital Sex")
## (Gender Pre)(Extra)[#(性别预)(额外)]
mosaic(margin.table(PreSex, c(2,3,4)),
expected = ~Gender * PremaritalSex + ExtramaritalSex ,
main = "PreMaritalSex*Gender +Sex")
## (Gender Pre Extra)(Marital)[#(性别控制的额外)(婚姻)]
mosaic(PreSex,
expected = ~Gender*PremaritalSex*ExtramaritalSex + MaritalStatus,
main = "PreMarital*ExtraMarital + MaritalStatus")
## (GPE)(PEM)[#(GPE)(PEM)]
mosaic(PreSex,
expected = ~ Gender * PremaritalSex * ExtramaritalSex
+ MaritalStatus * PremaritalSex * ExtramaritalSex,
main = "G*P*E + P*E*M")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|