Skip to contents

Simple non-parametric test based on signs of differences

Usage

sign_test(x, mu0 = 0, alternative = c("two.sided", "less", "greater"))

Arguments

x

Numeric vector of observations

mu0

Hypothesized median (default 0)

alternative

Alternative hypothesis

Value

List with test results