median_test_pair: Mood's median tests for one pair of groups

View source: R/pairwise_median_test.R

median_test_pairR Documentation

Mood's median tests for one pair of groups

Description

Mood's median tests for one pair of groups

Usage

median_test_pair(d, x, g, g1, g2, tol = 1e-06)

Arguments

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

Value

(two-sided) P-value

Author(s)

Ken Butler, butler@utsc.utoronto.ca

Examples

median_test_pair(datasets::mtcars,mpg,cyl,4,8)


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