Learn R Programming

RIbench (version 1.0.2)

getRI: Method to calculate reference intervals (percentiles) for objects of class 'RWDRI'

Description

Method to calculate reference intervals (percentiles) for objects of class 'RWDRI'

Usage

getRI(
  x,
  RIperc = c(0.025, 0.975),
  CIprop = 0.95,
  pointEst = c("fullDataEst", "medianBS", "meanBS"),
  truncNormal = FALSE,
  Scale = c("original", "transformed")
)

Value

(data.frame) with columns for percentile, point estimate and confidence intervals.

Arguments

x

(object) of class 'RWDRI'

RIperc

(numeric) value specifying the percentiles, which define the reference interval

CIprop

(numeric) value specifying the central region for estimation of confidence intervals

pointEst

(character) specifying the point estimate determination: (1) using the full dataset ("fullDataEst"), (2) calculating the median from all bootstrap samples ("medianBS"), (2) works only if NBootstrap > 0 (3) calculating the mean from all bootstrap samples ("meanBS"), (3) works only if NBootstrap > 0

truncNormal

(logical) specifying if a normal distribution truncated at zero shall be assumed

Scale

(character) specifying if percentiles are calculated on the original scale ("Or") or the transformed scale ("Tr")

Author

Christopher Rank christopher.rank@roche.com, Tatjana Ammer tatjana.ammer@roche.com