rowWilcoxon {siggenes} | R Documentation |
Computes either the Wilcoxon Rank Sum or Signed Rank Statistics for all rows of a matrix simultaneously.
rowWilcoxon(X, cl, rand = NA)
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 |
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.
a numeric vector containing Wilcoxon rank statistics for each row of X
Holger Schwender, holger.schw@gmx.de