wilcoxonOneSampleRC | R Documentation |
Calculates rank biserial correlation coefficient effect size for one-sample Wilcoxon signed-rank test; confidence intervals by bootstrap.
wilcoxonOneSampleRC(
x,
mu = NULL,
zero.method = "Wilcoxon",
ci = FALSE,
conf = 0.95,
type = "perc",
R = 1000,
histogram = FALSE,
digits = 3,
verbose = FALSE,
...
)
x |
A vector of observations. |
mu |
The value to compare |
zero.method |
If |
ci |
If |
conf |
The level for the confidence interval. |
type |
The type of confidence interval to use.
Can be any of " |
R |
The number of replications to use for bootstrap. |
histogram |
If |
digits |
The number of significant digits in the output. |
verbose |
If |
... |
Additional arguments passed to the |
It is recommended that NA
s be removed
beforehand.
When rc is close to extremes, or with small counts in some cells, the confidence intervals determined by this method may not be reliable, or the procedure may fail.
A single statistic, rc. Or a small data frame consisting of rc, and the lower and upper confidence limits.
Salvatore Mangiafico, mangiafico@njaes.rutgers.edu
https://rcompanion.org/handbook/F_02.html
wilcoxonPairedRC
### Example with one zero difference
A = c(11,12,13,14,15,16,17,18,19,20)
#' wilcoxonOneSampleRC(x = A, mu=15)
wilcoxonOneSampleRC(x = A, mu=15, verbose=TRUE, zero.method="Wilcoxon")
wilcoxonOneSampleRC(x = A, mu=15, verbose=TRUE, zero.method="Pratt")
wilcoxonOneSampleRC(x = A, mu=15, verbose=TRUE, zero.method="none")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.