hyp_test: Prints the p-value and a recommendation for rejecting or...

Description Usage Arguments Value

View source: R/hyp_test.R

Description

Prints the p-value and a recommendation for rejecting or accepting the null hypothesis.

Usage

1
hyp_test(data, mean_0, alpha)

Arguments

data

A 1-dimensional array. Non-numerical values result in an error

mean_0

The mean (as a number) of the population under the null hypothesis. Default: 0.

alpha

The threshold for Type I errors as an float.

Value

The p-value


UBC-MDS/hypeR documentation built on May 22, 2019, 2:26 p.m.