Politics and Space
While the relationship between political party and military spending is no big surprise, what about the relationship between political party and another spending priority: space exploration?
Start your exploration by simplifying the dataset to include only people that identified as Republicans (Rep), Democrats (Dem), and Independents (Ind).
Cet exercice fait partie du cours
Inference for Categorical Data in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Subset data
gss_party <- ___
# Filter out the "Oth"
___