rowWilcoxon {siggenes} | R Documentation

## Rowwise Wilcoxon Rank Sum Statistics

### Description

Computes either the Wilcoxon Rank Sum or Signed Rank Statistics for all rows of a matrix simultaneously.

### Usage

      rowWilcoxon(X, cl, rand = NA)

### Arguments

`X` | a matrix in which each row corresponds to a variable, and each column to an observation/sample.
`cl` | a numeric vector consisting of ones and zeros. The length of `cl` must be equal to the number of observations. If `cl` consists of zeros and ones, Wilcoxon Rank Sums are computed. If `cl` contains only ones, Wilcoxon Signed Rank Statistics are calculated.
`rand` | Sets the random number generator into a reproducible state. Ignored if Wilcoxon rank sums are computed, or `X` contains no zeros.

### Details

If there are ties, then the ranks of the observations belonging to the same group of tied observations will be set to the maximum rank available for the corresponding group.

### Value

A numeric vector containing Wilcoxon rank statistics for each row of `X`.

### Author(s)

Holger Schwender, holger.schw@gmx.de

### See Also

`wilc.stat`,`wilc.ebam`

[Package siggenes version 1.62.0 Index]