reference_limits: Calculate Reference Limits
Description
Calculates the lower and upper reference limit for given probabilities.
Usage
reference_limits(x, probs = c(0.025, 0.975), na.rm = TRUE)
Value
numeric
of length 2 with the lower and upper limit.
Arguments
- x
numeric
, laboratory values
- probs
numeric
, probabilities of the lower and upper reference limit,
default: c(0.025, 0.975)
(spanning 95 %).
- na.rm
logical
, if TRUE
(default) NA
values are removed before
the reference limits are calculated.