Learn R Programming

primarycensored (version 1.4.0)

.check_truncation_bounds: Validate truncation bounds L and D

Description

Internal function to validate that L (lower truncation) and D (upper truncation) parameters are valid: L must be non-negative and less than D.

Usage

.check_truncation_bounds(L, D)

Value

Invisible NULL if valid, otherwise stops with an error message.

Arguments

L

Lower truncation bound

D

Upper truncation bound