Skip to contents

[Experimental]

Help function detects the potential outlier with Dixon method, following the rules of EP28A3 and NMPA guideline for establishment of reference range.

Usage

dixon_outlier(x)

Arguments

x

(numeric)
numeric input.

Value

A list contains outliers and vector without outliers.

Examples

x <- c(13.6, 44.4, 45.9, 11.9, 41.9, 53.3, 44.7, 95.2, 44.1, 50.7, 45.2, 60.1, 89.1)
dixon_outlier(x)
#> $ord
#> [1]  1  4  8 13
#> 
#> $out
#> [1] 13.6 11.9 95.2 89.1
#> 
#> $subset
#> [1] 44.4 45.9 41.9 53.3 44.7 44.1 50.7 45.2 60.1
#>