calc_test_txt: Generate Hypothesis Test Text

View source: R/misc_functions.R

calc_test_txtR Documentation

Generate Hypothesis Test Text

Description

This function generates a descriptive string for a hypothesis test based on the provided test value and the specified alternative hypothesis type.

Usage

calc_test_txt(u, alternative = "two.sided")

Arguments

u

The hypothesized value for the coefficient in the null hypothesis.

alternative

The alternative hypothesis type. Must be one of "two.sided", "less", or "greater". Default is "two.sided".

Value

A string describing the hypothesis test.


emilelatour/lagree documentation built on Sept. 18, 2024, 5:19 p.m.