getNameAlternative: Gets the Label of the Alternative Hypothesis

View source: R/safeS3Methods.R

getNameAlternativeR Documentation

Gets the Label of the Alternative Hypothesis

Description

Helper function that outputs the alternative hypothesis of the analysis.

Usage

getNameAlternative(
  alternative = c("twoSided", "greater", "less"),
  testType,
  h0 = 0
)

Arguments

alternative

A character string. "twoSided", "greater", "less".

testType

A character string either "oneSample", "paired", "twoSample", "gLogrank", or "eLogrank".

h0

the value of the null hypothesis

Value

Returns a character string with the name of the analysis.


safestats documentation built on Nov. 24, 2022, 5:07 p.m.