Two-sample Wilcoxon test
two_wilcoxon_inference.RdPerform the Wilcoxon rank sum to compare two groups
Arguments
- formula
a formula of the form
y ~ x, whereyis a numeric variable andxis a factor variable. To perform test within subgroups, usey ~ x | g, wherexandgare factor variables.- data
a data frame containing the values in the formula.
- alternative
character string specifying the alternative hypothesis, must be one of "
two.sided" (default), "greater" or "less".- null
a number specifying the null proportion for testing a null hypothesis; if not specified, no hypothesis test is performed.
- conf.level
confidence level of the returned confidence interval. Must be a single number between 0 and 1.
- conf.adjust
adjust confidence bounds for
conf.adjustsimultaneous intervals using the Bonferroni method. Used internally bypairwise_wilcox_inference; should only rarely be used by users.- adjust
method of adjusting p-values for multiple comparisons, one of "
bonferroni", "holm", or "none".- reverse
reverse the direction of pairwise comparisons.
- ...
further arguments to be passed to submethods, as appropriate.