Exploring consci
The General Social Survey asks about far more topics than just happiness. Take a moment to poke around this dataset and visualize the variables that interest you. When you're ready, turn your attention to the question of how much confidence people had in the scientific community in 2016. The answers to this question have been summarized as "High"
or "Low"
levels of confidence and are stored in the consci
variable.
This exercise is part of the course
Inference for Categorical Data in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Print gss data
___
# Load dplyr
___
gss2016 <- gss %>%
# Filter for rows in 2016
___(___)