signrank.plot: Wilcoxon Signed Rank Test

Description Usage Arguments Value Examples

View source: R/ch15-fn.R

Description

Wilcoxon Signed Rank Test with a Plot

Usage

1
2
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

1
2
3
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")

tjssu/Rstat documentation built on Aug. 8, 2020, 12:38 p.m.