Description Usage Arguments Value
View source: R/analysis.helpers.R
Do a wilcox test on a data.table. More efficient that coin for large numbers, sort the input by outcome to make it faster.
1 | test.wilcox.dt(data.dt, two.sided = T, tie.correction = NULL, sort.input = F)
|
data.dt |
data.table with two-level grouping factor 'condition' and outcome 'outcome” |
two.sided |
Do a two sided test? |
tie.correction |
Apply tie correction (slightly slower, but sometimes necessary). If NULL, tie correction will be applied if there are. |
sort.input |
Sorts the input by reference, this enables faster ranking (i.e. speeds permutation test) |
A data.table containing statistics, including z score and theoretical p value (e.g. z.dt$z).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.