signrank.plot: Wilcoxon Signed Rank Test

View source: R/ch15-fn.R

signrank.plotR Documentation

Wilcoxon Signed Rank Test

Description

Wilcoxon Signed Rank Test with a Plot

Usage

signrank.plot(x, y, mu0 = 0, side = "two", xlab = "Signed Rank Sum",
  dig = 4)

Arguments

x

Data vector in group 1

y

Data vector in group 2

mu0

Mean difference under the null hypothesis, Default: 0

side

Type of alternative hypothesis, Default: 'two'

xlab

Label of x-axis, Default: 'Signed Rank Sum'

dig

Number of digits below the decimal point, Default: 4

Value

None.

Examples

x = c(38, 26, 34, 5, 68, 30, 35, 19, 33, 69)
y = c(28, 21, 31, 11, 59, 28, 28, 23, 32, 38)
signrank.plot(x=x, y=y, side="up")

adoocavo/Rstat_M1 documentation built on March 19, 2022, 3:34 a.m.