An array of samples, or one sample with group labels g.
Optionalg: readonly GroupLabel[] | OnewayTestOptions
Group labels, parallel to x (or the options, when x is an array of samples).
There is also a formula form, onewayTest("y ~ A + B", data, options) (next overload).
Optionaloptions: OnewayTestOptionsOne-way analysis of means from a formula and a data frame. As R's oneway.test(formula, data):
"y ~ A" has one group per level of A; with several factors, "y ~ A + B", the groups are the combinations of
their levels present in the data (R's interaction(), the first factor varying fastest). Only the variables of
the formula count: the rows where one of them is missing are dropped.
"y ~ A" or "y ~ A + B + ...".
The data frame: an object of columns (null or NaN for a missing value).
Optionaloptions: OnewayTestOptions
See OnewayTestOptions.
Test that several normal samples have equal means, without (default) or with the assumption of equal variances. Equivalent to R's
oneway.test().