Created
August 26, 2020 21:55
-
-
Save timcdlucas/9bd9b8f60f4029c895436d10048f8d57 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set.seed(10) | |
d <- data.frame(x = sample(c('a', 'b'), 30, replace = T), | |
y = rnorm(30)) | |
anova(lm(y~x, d)) | |
t.test(y~x, d, var.equal = TRUE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment