wilcoxP: wilcox P value for a vector of response and a vector of group

Description Usage Arguments Value

Description

If both x and y are given and paired is FALSE, a Wilcoxon rank sum test (equivalent to the Mann-Whitney test: see the Note) is carried out.

Usage

1
wilcoxP(data, class, switchXY = FALSE, alternative = "two.sided", ...)

Arguments

data

a vector of y

class

a vector of group (binary categorical)

switchXY

sometimes we have data as binary and class as continuous (for some reason, we do not want to change this in calling ttestP) and we need to swtich

alternative

types of test

...

additional parameters passed to wilcox.test

Value

the P value


nickytong/GenAnalysis documentation built on July 20, 2019, 8:57 a.m.