Calculates the lower and upper reference limit for given probabilities.
reference_limits(x, probs = c(0.025, 0.975), na.rm = TRUE)
numeric
, laboratory values
numeric
, probabilities of the lower and upper reference limit,
default: c(0.025, 0.975)
(spanning 95 %).
logical
, if TRUE
(default) NA
values are removed before
the reference limits are calculated.
numeric
of length 2 with the lower and upper limit.
reference_limits(1:10)
#> lower upper
#> 1.225 9.775