Blocks as rows, treatments as columns. Rows with a missing value are dropped.
There is also a formula form, friedmanTest("y ~ w | b", data) (next overload).
Friedman test from a formula and a data frame. As R's friedman.test(formula, data): "y ~ w | b"
with the groups w and the blocks b. The rows where y, w or b is missing are dropped first; then every
combination of group and block must occur exactly once (else the error not an unreplicated complete block design, so that one missing value fails, unlike the matrix form, which drops its block).
"y ~ w | b" (one variable on each side of |).
The data frame: an object of columns (null or NaN for a missing value).
Friedman rank sum test for an unreplicated complete block design. Equivalent to R's
friedman.test(). Takes a matrix.