Random numbers from the distribution of the Wilcoxon rank sum statistic. Equivalent to R's rwilcox().
rwilcox()
Number of values to generate.
Number of observations in the first sample.
Number of observations in the second sample.
An array of nn values; NaN for invalid parameters.
nn
NaN
RangeError if m + n exceeds 2147483647 or n exceeds 2^24 (one uniform is drawn per value of the second sample), before drawing.
m + n
n
setSeed(1);rwilcox(5, 4, 6); // [7, 5, 12, 17, 10] Copy
setSeed(1);rwilcox(5, 4, 6); // [7, 5, 12, 17, 10]
Random numbers from the distribution of the Wilcoxon rank sum statistic. Equivalent to R's
rwilcox().