pval_sign0: Two-sided P-value for sign test

View source: R/pval_sign.R

pval_sign0R Documentation

Two-sided P-value for sign test

Description

Two-sided P-value for sign test

Usage

pval_sign0(med0, x)

Arguments

med0

null median

x

vector of data for test

Value

P-value of two-sided sign test for median

Author(s)

Ken Butler, butler@utsc.utoronto.ca

Examples

pval_sign0(3.5,1:10)
pval_sign0(3,1:10)
pval_sign0(25, datasets::mtcars$mpg)

nxskok/smmr documentation built on Jan. 17, 2024, 3:26 p.m.