wilcox.test
and wilcox_test
)
for x
, for each group indicated by grp
. If grp
has more than two categories, a comparison between each combination of
two groups is performed.
The function reports U, p and Z-values as well as effect size r
and group-rank-means.
mwu(x, grp, distribution = "asymptotic", weight.by = NULL)
"exact"
, "approximate"
or "asymptotic"
(default). See wilcox_test
for details.NULL
, so no weights are used.data(efc)
# Mann-Whitney-U-Tests for elder's age by elder's dependency.
mwu(efc$e17age, efc$e42dep)
Run the code above in your browser using DataLab