Learn R Programming

refineR (version 2.0.0)

getRIMargins: Calculate uncertainty margins for a reference interval using the asymptotic method

Description

Calculate uncertainty margins for a reference interval using the asymptotic method

Usage

getRIMargins(
  RI,
  RIperc = c(0.025, 0.975),
  UMprop = 0.9,
  lambda = 0,
  shift = 0,
  asymmetryCorr = FALSE,
  n = 120,
  verbose = TRUE
)

Value

		(data.frame) containing the calculated uncertainty margins for the reference interval.

Arguments

RI

(numeric) vector of length >= 2 representing the lower and upper limits of the reference interval.

RIperc

(numeric) value specifying the percentiles, which define the reference interval (default c(0.025, 0.975))

UMprop

(numeric) value between 0 and 1 representing the confidence level for the uncertainty margins.

lambda

(numeric) value representing the power parameter for the Box-Cox transformation.

shift

(numeric) value representing the shift parameter for the Box-Cox transformation.

asymmetryCorr

(logical) value if the asymmetry correction shall be applied for extremely skewed distributions

n

(numeric) value representing the sample size for which the sampling uncertainty shall be taken into account

verbose

(logical) specifying if additional warning messages are printed

Author

Christopher Rank christopher.rank@roche.com