describe_h_test_results: Describe the results of a hypothesis test in 'plain' English.

Description Usage Arguments Value Examples

View source: R/describe_h_test_results.R

Description

Describe the results of a hypothesis test in 'plain' English.

Usage

1
describe_h_test_results(p, alpha = 0.05, h, stat = "mean")

Arguments

p

p value.

alpha

Confidence level. Default is 95%.

h

Named list vector containing text for the null and alternate hypothesis.

stat

Character vector containing type of observed statistic. Default is "mean"

Value

A character vector

Examples

1
2
3
4
5
6
standard usage:
describe_h_test_results(
0.0123, 0.01,
list(null = "Water is the best", alternative = "Water is not the best"),
sf = 5, stat = "proportion"
)

dc27/testdescriber documentation built on Dec. 19, 2021, 9:11 p.m.