Calculates the test statistic for a signed-rank test.
srt_statistic(x, ...)# S3 method for wilcoxon
srt_statistic(x, ...)
# S3 method for shift
srt_statistic(x, ...)
# S3 method for asymptotic
srt_statistic(x, warn_zd = FALSE, ...)
list
It carries forward the class selected by srt_method().
(named list)
The object returned by srt_method() in a 'srt pipeline'.
dots arguments are not used.
(Scalar logical: c(FALSE, TRUE))
Used for root-finding algorithm 'Z(d)' in confidence interval test inversion.
If TRUE return a warning and exit with value statistic = 0.