Dataset based on self-reported votes from 2016 VOTER Survey by dfvsg2017;textualplot3logit, as used in the examples in santi2022;textualplot3logit.
tibble
(data.frame
) with 8000 observations of 7 variables:
voter identifier (integer).
declared vote, afactor with three levels: Clinton, Trump, Other.
race, a factor with six levels: White, Black, Hispanic, Asian, Mixed, Other.
level of education, a factor with six levels: No high school, High school grad., Some college, 2-year college, 4-year college, Post-grad.
gender, a factor with four levels: Male, Female, Skipped, Not Asked.
decades when the voter was born, a factor with six levels: [1920,1940), [1940,1950), [1950,1960), [1960,1970), [1970,1980), [1980,2000).
income (in USD) of voter's family, a factor with five levels: [0; 30,000), [30,000; 60,000), [60,000; 100,000), [100,000; 150,000), [150,000; Inf).
Object USvote2016
includes only
few variables based on the result of the survey, which are publicly available
online. See file "data-raw/USvote2016_prepare.R"
in the GitHub repository
"f-santi/plot3logit"
(https://github.com/f-santi/plot3logit), where
it is documented how the dataset USvote2016
has been generated.