validate_sample_size_limits: Check Sample Size Limits

View source: R/validation.R

validate_sample_size_limitsR Documentation

Check Sample Size Limits

Description

Validates that the upper and lower limits are numeric and that the upper limit is greater than the lower limit.

Usage

validate_sample_size_limits(lower, upper)

Arguments

lower

Numeric. The initial lower limit for the search range.

upper

Numeric. The initial upper limit for the search range.

Value

NULL. If the checks pass, the function returns nothing. If the checks fail, it stops execution with an error message.

Author(s)

Thomas Debray tdebray@fromdatatowisdom.com


SimTOST documentation built on April 3, 2025, 9:05 p.m.