gss_wordsum_class | R Documentation |
A data frame containing data from the General Social Survey.
gss_wordsum_class
A data frame with 795 observations on the following 2 variables.
A vocabulary score calculated based on a ten question vocabulary test, where a higher score means better vocabulary. Scores range from 1 to 10.
Self-identified social class has 4 levels: lower, working, middle, and upper class.
library(dplyr)
gss_wordsum_class |>
group_by(class) |>
summarize(mean_wordsum = mean(wordsum))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.