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

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

Thomas Debray tdebray@fromdatatowisdom.com