Tidy analysis of variance test (ANOVA)
association_num_fac.Rd
Carry out a ANOVA test for two vectors and export it in a tidy
format with broom
.
Argumentos
- x
A vector.
- y
A vector.
- ...
Optional. Parameters of
aov
function.- name_x
Optional. Name of the x variable (character).
- name_y
Optional. Name of the y variable (character).
Ejemplos
association_num_fac(mtcars$mpg, as.factor(mtcars$cyl))
#> Error in loadNamespace(x): there is no package called ‘broom’