View source: R/pairwise_median_test.R
median_test_pair | R Documentation |
Mood's median tests for one pair of groups
median_test_pair(d, x, g, g1, g2, tol = 1e-06)
d |
a data frame |
x |
unquoted name of quantitative variable |
g |
unquoted name of grouping variable (as character, not a factor) |
g1 |
first group to compare (as text) |
g2 |
second group to compare (as text) |
tol |
(default 1e-6) any data values closer to overall median than this are discarded |
(two-sided) P-value
Ken Butler, butler@utsc.utoronto.ca
median_test_pair(datasets::mtcars,mpg,cyl,4,8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.