Two-sample Wilcoxon test
two_wilcoxon_inference.Rd
Perform the Wilcoxon rank sum to compare two groups
Arguments
- formula
a formula of the form
y ~ x
, wherey
is a numeric variable andx
is a factor variable. To perform test within subgroups, usey ~ x | g
, wherex
andg
are 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.adjust
simultaneous 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.