Learn R Programming

refineR (version 2.0.0)

getVerificationArgs: Get the correct values for RI, RIperc, Lambda, and Shift for the verification

Description

This function adapts the list of test arguments based on the margin type and additional test parameters

Usage

getVerificationArgs(
  RIdata,
  RIcand,
  RIperc,
  pointEst = c("fullDataEst", "medianBS"),
  verbose = TRUE
)

Value

(list) containing a list with the "RI", "Lambda", "Shift" parameter for RIdata and RIcand each

Arguments

RIdata

specifying the RI of the local population: (1) (object) of class RWDRI or (2) (numeric) representation of reference limits

RIcand

specifying the RI that needs to be verified: (1) (object) of class RWDRI or (2) (numeric) representation of reference limits

RIperc

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

pointEst

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

verbose

(logical) specifying if additional warning messages are printed

Author

Matthias Beck matthias.beck.mb1@roche.com