R Dataset / Package vcd / SexualFun

On this R-data statistics page, you will find information about the SexualFun data set which pertains to Sex is Fun. The SexualFun data set is found in the vcd R package. You can load the SexualFun data set in R by issuing the following command at the console data("SexualFun"). This will load the data into a variable called SexualFun. If R says the SexualFun data set is not found, you can try installing the package by issuing this command install.packages("vcd") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the SexualFun R data set. The size of this file is about 131 bytes.

Sex is Fun

Description

Data from Hout et al. (1987) given by Agresti (1990) summarizing the responses of married couples to the questionnaire item: Sex is fun for me and my partner: (a) never or occasionally, (b) fairly often, (c) very often, (d) almost always.

Usage

data("SexualFun")

Format

A 2-dimensional array resulting from cross-tabulating the ratings of 91 married couples. The variables and their levels are as follows:

R project statistics dataset table
No Name Levels
1 Husband Never Fun, Fairly Often, Very Often, Always Fun
2 Wife Never Fun, Fairly Often, Very Often, Always Fun

Source

M. Friendly (2000), Visualizing Categorical Data, page 91.

References

A. Agresti (1990), Categorical Data Analysis. Wiley-Interscience, New York.

M. Hout, O. D. Duncan, M. E. Sobel (1987), Association and heterogeneity: Structural models of similarities and differences, Sociological Methodology, 17, 145-184.

M. Friendly (2000), Visualizing Categorical Data. SAS Institute, Cary, NC.

Examples

data("SexualFun")## Kappa statistics
Kappa(SexualFun)## Agreement Chart
agreementplot(t(SexualFun), weights = 1)
## Partial Agreement Chart and B-Statistics
agreementplot(t(SexualFun),
xlab = "Husband's Rating",
ylab = "Wife's Rating",
main = "Husband's and Wife's Sexual Fun")

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-vcd-sexualfun.html" width="100%" height="100%" style="border:0px"></iframe>