median_test: Function of 'median test',and similar to the rank.

Description Usage Arguments Value Examples

Description

Function of 'median test',and similar to the rank.

Usage

1

Arguments

x

Numeric vector

median

Comparasion object

Value

The output are the numbers of positive and negative,and P value.

Examples

1
2
3
x <- c(21240,4632,22836,5484,5052,5064,6972,7596,14760,15012,18720,9480,4728,67200,52788)
median_test(x, median = 5080)
wilcox.test(x, mu = 5080)

zhaoxue-xmu/RDA documentation built on May 4, 2019, 10:17 p.m.