R/data-Politics.R

#'Gender and Political Party Affiliation
#'
#' This dataset contains data on a fabricated random sample of 200 individuals, 100 females and 100 males, drawn from a population of interest. There are only two variables, both of which are categorical: gender and political party affiliation.
#'
#' @format A data frame with 200 rows and 2 variables:
#' \describe{
#'   \item{Gender}{individual's gender}
#'   \item{Party}{individual's political party affiliation}
#' }
"Politics"

Try the sur package in your browser

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

sur documentation built on Aug. 26, 2020, 1:06 a.m.