wilcoxon_rank_sum_test function

Wilcoxon Rank-Sum Test (Also called the Mann-Whitney U Test)

Wilcoxon Rank-Sum Test (Also called the Mann-Whitney U Test)

A nonparametric equivalent of the independent t-test

wilcoxon_rank_sum_test( data = NULL, iv_name = NULL, dv_name = NULL, sigfigs = 3 )

Arguments

  • data: a data object (a data frame or a data.table)
  • iv_name: name of the independent variable (grouping variable)
  • dv_name: name of the dependent variable (measure variable of interest)
  • sigfigs: number of significant digits to round to

Returns

the output will be a data.table object with all pairwise Wilcoxon rank-sum test results

Examples

wilcoxon_rank_sum_test( data = iris, iv_name = "Species", dv_name = "Sepal.Length")