Optionaloptions: MoodTestOptionsMood's test from a formula and a data frame. As R's mood.test(formula, data): "y ~ g" compares the
two levels of g (the first level is x). Only the variables of the formula count: the rows where one of them is
missing are dropped.
"y ~ g".
The data frame: an object of columns (null or NaN for a missing value).
Optionaloptions: MoodTestOptions
Mood's two-sample test of scale. Equivalent to R's
mood.test().NaNvalues are dropped; ties get the average of the scores of their positions.There is also a formula form,
moodTest("y ~ g", data, options)(next overload).