pairwise_median_test: Pairwise Mood's median tests for all comparison of pairs of...

View source: R/pairwise_median_test.R

pairwise_median_testR Documentation

Pairwise Mood's median tests for all comparison of pairs of group medians

Description

Pairwise Mood's median tests for all comparison of pairs of group medians

Usage

pairwise_median_test(d, x, g, tol = 1e-06)

Arguments

d

a data frame

x

unquoted name of quantitative variable

g

unquoted name of grouping variable (can be a factor, is treated as text)

tol

(default 1e-6) any data values closer to overall median than this are discarded

Value

data frame of groups being compared and unadjusted and Bonferroni-adjusted P-values

Author(s)

Ken Butler, butler@utsc.utoronto.ca

Examples

pairwise_median_test(datasets::mtcars,mpg,cyl)


nxskok/smmr documentation built on Jan. 17, 2024, 3:26 p.m.