Learn R Programming

referenceIntervals (version 1.3.1)

robust: Algorithm that implements the robust method for reference interval calculations

Description

The robust method is an iterative method that determines the most appropriate weighted mean of the data and then calculates the desired reference interval.

Usage

robust(data, indices = c(1:length(data)), refConf = 0.95)

Value

Returns a vector containing the lower and upper limits of the reference interval.

Arguments

data

Vector of data.

indices

Indices of data to use for calculations.

refConf

Desired coverage of the reference interval. Default is 95 interval.

Author

Daniel Finnegan

References

Defining, Establishing, and Verifying Reference Intervals in the Clinical Laboratory; Approved Guideline - 3rd Edition (C28-A3)

Examples

Run this code
	
robust(set50)
robust(horn.outliers(set20)$subset)

Run the code above in your browser using DataLab