pval_sign: Two-sided P-value for sign test

View source: R/pval_sign.R

pval_signR Documentation

Two-sided P-value for sign test

Description

Two-sided P-value for sign test

Usage

pval_sign(med0, d, x)

Arguments

med0

null median

d

data frame

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

d=data.frame(z=1:10)
pval_sign(3.5,d,z)
pval_sign(3,d,z)
pval_sign(25, datasets::mtcars, mpg)


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