Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
## 1 ##
college %>%
t_test(exam_1 ~ athlete, var.equal = TRUE)
## 2 ##
college %>%
filter(gender != "Trans*") %>%
t_test(act_english ~ gender, var.equal = FALSE)
## Alternative 2 ##
college %>%
t_test(act_english ~ gender, var.equal = FALSE,
comparisons = list(c("Male", "Female")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment