median_test0: Mood's median test for comparison of group medians

View source: R/median_test.R

median_test0R Documentation

Mood's median test for comparison of group medians

Description

Mood's median test for comparison of group medians

Usage

median_test0(x, g)

Arguments

x

vector of data

g

vector of group memberships (same length as x)

Value

list of 3 objects: grand median of all obs, table, counts of values above and below the grand median in each group; value, test statistic, df and P-value

Author(s)

Ken Butler, butler@utsc.utoronto.ca

Examples

median_test0(datasets::mtcars$mpg,datasets::mtcars$cyl)


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