
Last chance! 50% off unlimited learning
Sale ends in
# NOT RUN {
# Permutation test similar to ANOVA
mtcars %>%
dplyr::mutate(cyl = factor(cyl)) %>%
specify(mpg ~ cyl) %>%
hypothesize(null = "independence") %>%
generate(reps = 100, type = "permute") %>%
calculate(stat = "F")
# }
Run the code above in your browser using DataLab