View source: R/pairwise_t_test.R
pairwise_t_test | R Documentation |
A tidy calculation of pairwise comparisons between group levels with corrections for multiple testing
pairwise_t_test(df, outcome, subgroups, vs_rest = FALSE, min_n = 30, ...)
df |
A data frame or tibble of raw observations |
outcome |
Response vector |
subgroups |
Grouping vector |
vs_rest |
Logical indicating whether to test each level of a subgroup to the rest of the data |
min_n |
A scalar numeric indicating the minimum sample size to test on. Defaulted to n=30. |
... |
Additional arguments passed on to pairwise.t.test and t.test |
A tibble with output from pairwise.t.test
pairwise_t_test(iris, Sepal.Length, Species)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.