validate.htest.alternative: Validation - alternative Parameter for Hypothesis Tests

View source: R/validate.htest.alternative.R

validate.htest.alternativeR Documentation

Validation - alternative Parameter for Hypothesis Tests

Description

Verifies that the alternative hypothesis argument matches a set of correct values. If nonconforming, then stop() is called

Usage

validate.htest.alternative(
  alternative,
  allowed = c("two.sided", "less", "greater")
)

Arguments

alternative

Scalar/character - The value to test

allowed

Vector/character - Possible values

Value

no return value


burrm/lolcat documentation built on Sept. 15, 2023, 11:35 a.m.