signtest.plot: Sign Test (Binomial Test)

Description Usage Arguments Value Examples

View source: R/ch15-fn.R

Description

Sign Test (Binomial Test) with a Plot

Usage

1
signtest.plot(x, mu0 = 0, side = "two", dig = 4)

Arguments

x

Data vector

mu0

Mean value under the null hypothesis, Default: 0

side

Type of alternative hypothesis, Default: 'two'

dig

Number of digits below the decimal point, Default: 4

Value

None.

Examples

1
2
(x = c(1,2,5,7, rep(8,7), rep(9,5), rep(10,4)))
signtest.plot(x=x, mu0=7, side="up")

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