signtest.plot: Sign Test (Binomial Test)

View source: R/ch15-fn.R

signtest.plotR Documentation

Sign Test (Binomial Test)

Description

Sign Test (Binomial Test) with a Plot

Usage

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

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

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