R Dataset / Package car / Guyer


On this R-data statistics page, you will find information about the Guyer data set which pertains to Anonymity and Cooperation. The Guyer data set is found in the car R package. You can load the Guyer data set in R by issuing the following command at the console data("Guyer"). This will load the data into a variable called Guyer. If R says the Guyer data set is not found, you can try installing the package by issuing this command install.packages("car") 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 Guyer R data set. The size of this file is about 252 bytes.

Anonymity and Cooperation


The Guyer data frame has 20 rows and 3 columns. The data are from an experiment in which four-person groups played a prisoner's dilemma game for 30 trails, each person making either a cooperative or competitive choice on each trial. Choices were made either anonymously or in public; groups were composed either of females or of males. The observations are 20 groups.




This data frame contains the following columns:


Number of cooperative choices (out of 120 in all).


A factor with levels: A, Anonymous; P, Public-Choice.


Sex. A factor with levels: F, Female; M, Male.


Fox, J. and Guyer, M. (1978) Public choice and cooperation in n-person prisoner's dilemma. Journal of Conflict Resolution 22, 469–481.


Fox, J. (2008) Applied Regression Analysis and Generalized Linear Models, Second Edition. Sage.

Fox, J. and Weisberg, S. (2011) An R Companion to Applied Regression, Second Edition, Sage.


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

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
<iframe src="https://r-data.pmagunia.com/iframe/r-dataset-package-car-guyer.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-18342.csv 252 bytes
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.