R/easton.R

#' Data from "The Democracy of Dating: How Political Affiliations Shape Relationship Formation"
#'
#' This dataset is used in the exercises of Chapters 5 and 6 from the R Companion.
#'
#' @format A data frame with 725 rows and 5 variables:
#' \describe{
#'   \item{attractiveness_score}{Attractiveness of the shown profile according to the subject}
#'   \item{age}{Age in years}
#'   \item{male}{Gender. 1 = Male, 0 = Female}
#'   \item{republican}{Political orientation. 1 = Republican, 0 = Democrat}
#'   \item{treatment_republican_profile}{1 = A profile of a Republican was shown, 0 = A profile of a Democrat was shown}
#' }
#' @source Easton, Matthew J., and John B. Holbein. “The Democracy of Dating: How Political Affiliations Shape Relationship Formation.” Journal of Experimental Political Science, vol. 8, no. 3, 2021, pp. 260–272., doi:10.1017/XPS.2020.21.
"easton"

Try the experimentr package in your browser

Any scripts or data that you put into this service are public.

experimentr documentation built on March 18, 2022, 7:22 p.m.