Description Usage Arguments Value Examples
Conducts analysis of variance (ANOVA)
1 |
data |
Data frame with variables of interest to model |
model |
Specification of the theorized model |
type |
Not yet impelmented |
robust |
Logical not yet implemented |
... |
Other args passed to aov/lm |
List with fit and coef elements.
1 2 3 4 5 6 7 8 9 | ## anova
polcom %>%
dplyr::mutate(sex = ifelse(sex == 1, "Male", "Female"),
vote_choice = dplyr::case_when(
vote_2016_choice == 1 ~ "Clinton",
vote_2016_choice == 2 ~ "Trump",
TRUE ~ "Other")) %>%
tidy_anova(pp_ideology ~ sex * vote_choice) %>%
tidy_summary()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.