R Dataset / Package vcd / SexualFun


On this Picostat.com 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. 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


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.




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

No Name Levels
1 Husband Never Fun, Fairly Often, Very Often, Always Fun
2 Wife Never Fun, Fairly Often, Very Often, Always Fun


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


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.


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

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

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-60908.csv 131 bytes
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0